Skip to content

Commit

Permalink
use t.table_schema in GROUP BY. Although not strictly necessary this …
Browse files Browse the repository at this point in the history
…may be faster

Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed Jun 26, 2023
1 parent 5f4350a commit e398329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/mysql/flavor_mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ UNION ALL
WHERE
t.table_schema = database() AND t.create_options = 'partitioned'
GROUP BY
t.table_name, t.table_type, t.create_time, t.table_comment
t.table_schema, t.table_name, t.table_type, t.create_time, t.table_comment
`

// baseShowTablesWithSizes is part of the Flavor interface.
Expand Down

0 comments on commit e398329

Please sign in to comment.