mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
to reach the desired value. mysql-test/r/flush_read_lock_kill.result: Update test case result. mysql-test/t/flush_read_lock_kill.test: Wait for the debug synchronization point to be reached.
11 lines
272 B
Plaintext
11 lines
272 B
Plaintext
set @@global.concurrent_insert= 0;
|
|
drop table if exists t1;
|
|
create table t1 (kill_id int);
|
|
insert into t1 values(connection_id());
|
|
flush tables with read lock;
|
|
select ((@id := kill_id) - kill_id) from t1;
|
|
((@id := kill_id) - kill_id)
|
|
0
|
|
kill connection @id;
|
|
drop table t1;
|