40
40
let $rows= `select count(*) from t2 /* must be 2 or 0 */`;
43
43
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
45
45
(@a:=load_file("$MYSQLTEST_VARDIR/tmp/kill_query_calling_sp.binlog"))
48
48
let $error_code= `select @a like "%#%error_code=0%" /* must return 1 or 0*/`;
49
49
let $insert_binlogged= `select @a like "%insert into%" /* must return 1 or 0 */`;
50
50
eval set @result= $rows- $error_code - $insert_binlogged;