DBZ-5273 Support using variables in KILL command
This commit is contained in:
parent
17da915bd1
commit
5f1d420fb5
@ -1861,7 +1861,7 @@ flushStatement
|
||||
|
||||
killStatement
|
||||
: KILL connectionFormat=(CONNECTION | QUERY)?
|
||||
decimalLiteral+
|
||||
(decimalLiteral+ | mysqlVariable)
|
||||
;
|
||||
|
||||
loadIndexIntoCache
|
||||
|
@ -0,0 +1,8 @@
|
||||
#begin
|
||||
KILL CONNECTION 12345;
|
||||
KILL QUERY 12345;
|
||||
KILL CONNECTION @conn_variable;
|
||||
KILL QUERY @query_variable;
|
||||
KILL CONNECTION @@global_variable;
|
||||
KILL QUERY @@global_variable;
|
||||
#end
|
Loading…
Reference in New Issue
Block a user