mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
MDEV-6290 Crash in KILL HARD QUERY USER x@y when slave threads are running
KILL USER should ignore system threads where sctx->user=sctx->host=NULL
This commit is contained in:
parent
80708da138
commit
4e6e720160
3 changed files with 16 additions and 1 deletions
11
mysql-test/suite/rpl/t/kill_hard-6290.test
Normal file
11
mysql-test/suite/rpl/t/kill_hard-6290.test
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# MDEV-6290 Crash in KILL HARD QUERY USER x@y when slave threads are running
|
||||
#
|
||||
|
||||
# this test doesn't depend on the binlog format, no need to run it three times
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
|
||||
--source include/master-slave.inc
|
||||
--connection server_2
|
||||
kill user test2@nohost;
|
||||
--source include/rpl_end.inc
|
||||
Loading…
Add table
Add a link
Reference in a new issue