summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/r
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-10-26 13:19:00 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-11-02 09:45:43 -0400
commit7a170205e0dbd7db9047ad1e25fb465b047c6c33 (patch)
tree0eda7e84925d07ade990d406b15ce23750dbadcd /mysql-test/suite/galera/r
parent07918b48b8c959e708a6175241d59c739fb63418 (diff)
downloadmariadb-git-7a170205e0dbd7db9047ad1e25fb465b047c6c33.tar.gz
MDEV-11152: wsrep_replicate_myisam: SELECT gets replicated using TO
Fixed the 'wsrep_replicate_myisam' check to allow only limited set of commands. Added a debug assert to discover such cases.
Diffstat (limited to 'mysql-test/suite/galera/r')
-rw-r--r--mysql-test/suite/galera/r/galera_var_replicate_myisam_on.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/r/galera_var_replicate_myisam_on.result b/mysql-test/suite/galera/r/galera_var_replicate_myisam_on.result
index 73a0576048b..22ba4ca8767 100644
--- a/mysql-test/suite/galera/r/galera_var_replicate_myisam_on.result
+++ b/mysql-test/suite/galera/r/galera_var_replicate_myisam_on.result
@@ -74,5 +74,14 @@ ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
COMMIT;
DROP TABLE t1;
DROP TABLE t2;
+#
+# MDEV-11152: wsrep_replicate_myisam: SELECT gets replicated using TO
+#
+CREATE TABLE t1 (i INT) ENGINE=INNODB;
+INSERT INTO t1 VALUES(1);
+SELECT * FROM t1;
+i
+1
+DROP TABLE t1;
SET GLOBAL wsrep_replicate_myisam = 0;
SET GLOBAL wsrep_replicate_myisam = 0;