mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed problem of sending ERROR to client after OK or EOF (BUG#6804)
This commit is contained in:
@ -35,3 +35,21 @@ select @id != connection_id();
|
||||
connection con2;
|
||||
select 4;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# test of blocking of sending ERROR after OK or EOF
|
||||
#
|
||||
connection con1;
|
||||
select get_lock("a", 10);
|
||||
connection con2;
|
||||
let $ID= `select connection_id()`;
|
||||
send select get_lock("a", 10);
|
||||
connection con1;
|
||||
disable_query_log;
|
||||
eval kill query $ID;
|
||||
enable_query_log;
|
||||
connection con2;
|
||||
reap;
|
||||
select 1;
|
||||
connection con1;
|
||||
select RELEASE_LOCK("a");
|
||||
|
Reference in New Issue
Block a user