[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

This commit is contained in:
zachmu
2025-06-18 21:47:27 +00:00
parent 0686118647
commit 8831317932
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1043,7 +1043,7 @@ func (db Database) tableInsensitive(ctx *sql.Context, root doltdb.RootValue, tab
}
tableListKey := root.TableListHash()
// TODO: refactor to make caching logic more obvious, cache and then retrieve
// TODO: why would tableListKey ever be zero?
if tableListKey != 0 {
@@ -261,14 +261,14 @@ func (c *SessionCache) CacheTableChecks(key doltdb.DataCacheKey, checks []sql.Ch
c.checks[key] = checks
}
// GetTableNameMap returns the cached names of tables in a given root, keyed by their lower-case name, to their
// GetTableNameMap returns the cached names of tables in a given root, keyed by their lower-case name, to their
// case-sensitive name
func (c *SessionCache) GetTableNameMap(key uint64) (map[string]string, bool) {
tables, ok := c.tableMaps[key]
return tables, ok
}
// CacheTableNameMap caches the names of tables in a given root, keyed by their lower-case name, to their
// CacheTableNameMap caches the names of tables in a given root, keyed by their lower-case name, to their
// case-sensitive name
func (c *SessionCache) CacheTableNameMap(key uint64, tables map[string]string) {
c.mu.Lock()