Skip to content

Commit c9ccd98

Browse files
committed
fix query LIMIT and sort
1 parent 2a7c201 commit c9ccd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enginetest/queries/information_schema_queries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var InfoSchemaQueries = []QueryTest{
3838
CASE WHEN table_schema = 'mysql' OR table_schema = 'performance_schema' THEN 'SYSTEM TABLE'
3939
ELSE 'TABLE' END
4040
WHEN table_type = 'TEMPORARY' THEN 'LOCAL_TEMPORARY'
41-
ELSE table_type END AS TABLE_TYPE FROM information_schema.tables;`,
41+
ELSE table_type END AS TABLE_TYPE FROM information_schema.tables ORDER BY table_name LIMIT 1;`,
4242
Expected: []sql.Row{{"information_schema", nil, "administrable_role_authorizations", "SYSTEM VIEW"}},
4343
},
4444
{

0 commit comments

Comments
 (0)