1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-21998: Server crashes in st_select_lex::add_table_to_list upon mix of KILL and sequences

Continue support the hack of current select equal builtin select if
selects stack is empty even after subselects.
This commit is contained in:
Oleksandr Byelkin
2020-07-24 09:59:38 +02:00
parent fd9ca2a742
commit c6eb21cd87
14 changed files with 67 additions and 44 deletions

View File

@ -615,7 +615,7 @@ call bug2653_1(1, @b)|
drop procedure bug2653_1|
--error ER_BAD_FIELD_ERROR
--error ER_SP_UNDECLARED_VAR
create procedure bug2653_2(a int, out b int)
begin
if aa < 0 then
@ -1508,7 +1508,7 @@ DROP PROCEDURE IF EXISTS bug13037_p3;
delimiter |;
--error ER_BAD_FIELD_ERROR
--error ER_SP_UNDECLARED_VAR
CREATE PROCEDURE bug13037_p1()
BEGIN
IF bug13037_foo THEN