You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/main/show.result
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
#
2
+
# MDEV-9538 Server crashes in check_show_access on SHOW STATISTICS
3
+
# MDEV-9539 Server crashes in make_columns_old_format on SHOW GEOMETRY_COLUMNS
4
+
# MDEV-9540 SHOW SPATIAL_REF_SYS and SHOW SYSTEM_VARIABLES return empty results with numerous warnings
5
+
#
1
6
show statistics;
2
7
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'statistics' at line 1
3
8
show spatial_ref_sys
@@ -10,3 +15,30 @@ show geometry_columns;
10
15
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'geometry_columns' at line 1
11
16
show nonexistent;
12
17
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'nonexistent' at line 1
18
+
#
19
+
# MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition
20
+
#
21
+
create table t1 (nm varchar(32), a int);
22
+
insert t1 values ('1',1),('2',2),('3',3);
23
+
show tables
24
+
where tables_in_test in (select *
25
+
from (select nm from test.t1 group by nm) dt);
26
+
Tables_in_test
27
+
show fields from test.t1
28
+
where field in (select * from (select nm from test.t1 group by nm) dt);
29
+
Field Type Null Key Default Extra
30
+
insert t1 values ('nm',0);
31
+
show fields from test.t1
32
+
where field in (select * from (select nm from test.t1 group by nm) dt);
33
+
Field Type Null Key Default Extra
34
+
nm varchar(32) YES NULL
35
+
show fields from test.t1 where field in
36
+
(select * from (select column_name from information_schema.columns
0 commit comments