Skip to content

Commit

Permalink
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/upda…
Browse files Browse the repository at this point in the history
…te.sh
  • Loading branch information
zachmu committed Oct 9, 2024
1 parent 22719db commit 23432f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go/libraries/doltcore/sqle/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ func (db Database) getAllTableNames(ctx *sql.Context, root doltdb.RootValue) ([]
if err != nil {
return nil, err
}
// TODO: this method should probably return TableNames, but need to iron out the effective schema for system
// TODO: this method should probably return TableNames, but need to iron out the effective schema for system
// tables first
result = doltdb.FlattenTableNames(names)
} else {
Expand Down
6 changes: 3 additions & 3 deletions go/libraries/doltcore/sqle/resolve/resolve_tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func Table(
return tName, tbl, tblExists, err
}

// TablesOnSearchPath returns all the tables in the root value given that are in a schema in the search path
func TablesOnSearchPath( ctx *sql.Context, root doltdb.RootValue) ([]doltdb.TableName, error) {
// TablesOnSearchPath returns all the tables in the root value given that are in a schema in the search path
func TablesOnSearchPath(ctx *sql.Context, root doltdb.RootValue) ([]doltdb.TableName, error) {
schemasToSearch, err := SearchPath(ctx)
if err != nil {
return nil, err
Expand All @@ -52,7 +52,7 @@ func TablesOnSearchPath( ctx *sql.Context, root doltdb.RootValue) ([]doltdb.Tabl
}
tableNames = append(tableNames, doltdb.ToTableNames(names, schemaName)...)
}

return tableNames, nil
}

Expand Down

0 comments on commit 23432f4

Please sign in to comment.