Skip to content

Commit 7fa1df4

Browse files
committed
Merge branch 'zachmu/show-table-schema' of github.com:dolthub/go-mysql-server into zachmu/show-table-schema
2 parents a881864 + 8287a58 commit 7fa1df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/planbuilder/show.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ func (b *Builder) buildShowAllTables(inScope *scope, s *ast.Show) (outScope *sco
627627
dbName = b.ctx.GetCurrentDatabase()
628628
}
629629
db := b.resolveDb(dbName)
630-
630+
631631
if schemaName != "" {
632632
sdb, ok := db.(sql.SchemaDatabase)
633633
if !ok {
@@ -643,7 +643,7 @@ func (b *Builder) buildShowAllTables(inScope *scope, s *ast.Show) (outScope *sco
643643
err := sql.ErrDatabaseSchemaNotFound.New(schemaName)
644644
b.handleErr(err)
645645
}
646-
646+
647647
db = s
648648
}
649649

0 commit comments

Comments
 (0)