# This test checks that applier threads are immune to KILL QUERY and KILL STATEMENT
#
--sourceinclude/galera_cluster.inc
--sourceinclude/have_innodb.inc
--connectionnode_1
--let$applier_thread=`SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE != 'wsrep aborter idle' OR STATE IS NULL LIMIT 1`
--disable_query_log
--errorER_KILL_DENIED_ERROR,ER_KILL_DENIED_ERROR
--evalKILL$applier_thread
--errorER_KILL_DENIED_ERROR,ER_KILL_DENIED_ERROR
--evalKILLQUERY$applier_thread
--let$aborter_thread=`SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE = 'wsrep aborter idle' LIMIT 1`