Skip to content

Commit

Permalink
[ga-format-pr] Run ./format_repo.sh to fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmu committed Oct 9, 2024
1 parent 7fa1df4 commit 16d1ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/planbuilder/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -723,11 +723,11 @@ func (b *Builder) buildShowAllColumns(inScope *scope, s *ast.Show) (outScope *sc
} else if s.Table.DbQualifier.String() != "" {
dbName = s.Table.DbQualifier.String()
}

if s.ShowTablesOpt != nil && s.ShowTablesOpt.SchemaName != "" {
schemaName = s.ShowTablesOpt.SchemaName
}

tableScope, ok := b.buildResolvedTable(inScope, dbName, schemaName, s.Table.Name.String(), asOf)
if !ok {
err := sql.ErrTableNotFound.New(s.Table.Name.String())
Expand Down

0 comments on commit 16d1ab3

Please sign in to comment.