From 23432f4f807142fc735f00da0d939ec04d752eea Mon Sep 17 00:00:00 2001 From: zachmu Date: Wed, 9 Oct 2024 22:03:58 +0000 Subject: [PATCH] [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh --- go/libraries/doltcore/sqle/database.go | 2 +- go/libraries/doltcore/sqle/resolve/resolve_tables.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go/libraries/doltcore/sqle/database.go b/go/libraries/doltcore/sqle/database.go index 44c3621f9e..ee024ee2e2 100644 --- a/go/libraries/doltcore/sqle/database.go +++ b/go/libraries/doltcore/sqle/database.go @@ -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 { diff --git a/go/libraries/doltcore/sqle/resolve/resolve_tables.go b/go/libraries/doltcore/sqle/resolve/resolve_tables.go index 6944dc5189..77f8d9ea2d 100755 --- a/go/libraries/doltcore/sqle/resolve/resolve_tables.go +++ b/go/libraries/doltcore/sqle/resolve/resolve_tables.go @@ -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 @@ -52,7 +52,7 @@ func TablesOnSearchPath( ctx *sql.Context, root doltdb.RootValue) ([]doltdb.Tabl } tableNames = append(tableNames, doltdb.ToTableNames(names, schemaName)...) } - + return tableNames, nil }