-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-6290 Crash in KILL HARD QUERY USER x@y when slave threads are ru…
…nning KILL USER should ignore system threads where sctx->user=sctx->host=NULL
- Loading branch information
Sergei Golubchik
committed
Jul 23, 2014
1 parent
80708da
commit 4e6e720
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include/master-slave.inc | ||
[connection master] | ||
kill user test2@nohost; | ||
include/rpl_end.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters