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:
Sergei Golubchik 2014-07-23 19:36:15 +02:00
commit 4e6e720160
3 changed files with 16 additions and 1 deletions

View 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