mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 16:12:39 -06:00
Don't put dolt_ tables in any named schema
This commit is contained in:
@@ -678,7 +678,8 @@ func (db Database) getTable(ctx *sql.Context, root doltdb.RootValue, tableName s
|
||||
}
|
||||
|
||||
var tbl *doltdb.Table
|
||||
if resolve.UseSearchPath && db.schemaName == "" {
|
||||
// TODO: dolt_schemas needs work to be compatible with multiple schemas
|
||||
if resolve.UseSearchPath && db.schemaName == "" && !doltdb.HasDoltPrefix(tableName) {
|
||||
var tblName doltdb.TableName
|
||||
tblName, tbl, ok, err = resolve.TableWithSearchPath(ctx, root, tableName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user