Skip to content

Commit d3d2c96

Browse files
committed
Merge 10.3 into 10.4
2 parents 77d8da5 + aa70690 commit d3d2c96

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mysql-test/main/lock_kill.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ LOCK TABLE t1 WRITE;
1717
eval KILL $conid;
1818
--enable_query_log
1919
--connection con1
20-
--error 0,2013
20+
--error 0,2013,ER_CONNECTION_KILLED
2121
reap;
2222
--connection default
2323
--disconnect con1
@@ -35,7 +35,7 @@ LOCK TABLE t1 WRITE, t2 WRITE;
3535
eval KILL $conid;
3636
--enable_query_log
3737
--connection con1
38-
--error 0,2013
38+
--error 0,2013,ER_CONNECTION_KILLED
3939
reap;
4040
--connection default
4141
--disconnect con1

sql/sql_admin.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
588588

589589
if (thd->check_killed())
590590
{
591+
open_error= false;
591592
fatal_error= true;
592593
result_code= HA_ADMIN_FAILED;
593594
goto send_result;

0 commit comments

Comments
 (0)