Skip to content

Commit 49ab50f

Browse files
committed
Merge 10.4 into 10.5
2 parents 6d21b6a + d3d2c96 commit 49ab50f

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
@@ -581,6 +581,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
581581

582582
if (thd->check_killed())
583583
{
584+
open_error= false;
584585
fatal_error= true;
585586
result_code= HA_ADMIN_FAILED;
586587
goto send_result;

0 commit comments

Comments
 (0)