mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-21616: Server crash when using "SET STATEMENT max_statement_time=0 FOR desc xxx" lead to collapse
Main select should be pushed first.
This commit is contained in:
@ -1565,4 +1565,14 @@ select * from t2;
|
||||
SET STATEMENT max_statement_time=900 FOR unlock tables;
|
||||
drop table t1, t2;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-21616: Server crash when using
|
||||
--echo # "SET STATEMENT max_statement_time=0 FOR desc xxx" lead to collapse
|
||||
--echo #
|
||||
|
||||
create table t1 (a int);
|
||||
SET STATEMENT max_statement_time=0 FOR desc t1;
|
||||
drop table t1;
|
||||
SET STATEMENT max_statement_time=0 FOR do 1;
|
||||
|
||||
--echo # End of 10.4 tests
|
||||
|
Reference in New Issue
Block a user