From 3127aa85c50bbf06bbf8a5598c54bfc35f1b3bec Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Fri, 12 Apr 2019 14:14:53 +0300 Subject: [PATCH] MXS-2432 Add test that reveals issue RESET is neither parsed not tokenized, so RESET statements ends up being sent to the master. That is fine for all but RESET QUERY CACHE that should be sent to all servers. --- query_classifier/test/maxscale.test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/query_classifier/test/maxscale.test b/query_classifier/test/maxscale.test index 2a5758211..bef606e16 100644 --- a/query_classifier/test/maxscale.test +++ b/query_classifier/test/maxscale.test @@ -129,3 +129,8 @@ XA PREPARE 'xid'; XA COMMIT 'xid'; XA ROLLBACK 'xid' XA RECOVER 'xid'; + +# MXS-2432 +RESET QUERY CACHE; +RESET MASTER; +RESET SLAVE;