1
0
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:
bell@sanja.is.com.ua
2005-01-20 10:41:37 +02:00
parent a13efc7d65
commit e9ad508542
7 changed files with 59 additions and 3 deletions

View File

@ -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");