mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
7a52848891
include/mysql_com.h: Flag which prevent sending error after EOF or OK sent mysql-test/r/kill.result: test of blocking of sending ERROR after OK or EOF mysql-test/t/kill.test: test of blocking of sending ERROR after OK or EOF sql/item_func.cc: typo fixed sql/net_serv.cc: initialization of flag sql/protocol.cc: check and set of flag no_send_error sql/sql_parse.cc: droping flag no_send_error before new command/query execution
23 lines
367 B
Text
23 lines
367 B
Text
drop table if exists t1;
|
|
create table t1 (kill_id int);
|
|
insert into t1 values(connection_id());
|
|
select ((@id := kill_id) - kill_id) from t1;
|
|
((@id := kill_id) - kill_id)
|
|
0
|
|
kill @id;
|
|
select 4;
|
|
4
|
|
4
|
|
drop table t1;
|
|
select get_lock("a", 10);
|
|
get_lock("a", 10)
|
|
1
|
|
select get_lock("a", 10);
|
|
get_lock("a", 10)
|
|
NULL
|
|
select 1;
|
|
1
|
|
1
|
|
select RELEASE_LOCK("a");
|
|
RELEASE_LOCK("a")
|
|
1
|