1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed test case bug in purge_thread_shutdown

This commit is contained in:
Monty
2018-11-30 01:04:55 +02:00
parent 8561a0ac9e
commit dc91330d98

View File

@ -32,7 +32,9 @@ delete from t1 where a=3;
error ER_WRONG_VALUE_FOR_VAR;
set global innodb_fast_shutdown=0;
let $me=`select connection_id()`;
# Get id with space prefix to ensure that replace_result doesn't replace
# the error code
let $me=`select concat(' ', connection_id())`;
replace_result $me ID;
error ER_CONNECTION_KILLED;
eval kill $me;