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.
This commit is contained in:
Johan Wikman 2019-04-12 14:14:53 +03:00
parent c643f9bc8d
commit 3127aa85c5

View File

@ -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;