diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-12-09 12:24:08 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-12-09 12:24:08 -0500 |
commit | 313a14f79e6de43acd5c2ceffbcc01af2506d800 (patch) | |
tree | 729e59b378a4b7ec9ac10e4b3165d1ca8beee375 /mysql-test/suite/galera/t/galera_var_dirty_reads.test | |
parent | 72fd15f7c31aa3e3705ae1b005a3247a985c5bb3 (diff) | |
download | mariadb-git-313a14f79e6de43acd5c2ceffbcc01af2506d800.tar.gz |
Fix test failures.
Diffstat (limited to 'mysql-test/suite/galera/t/galera_var_dirty_reads.test')
-rw-r--r-- | mysql-test/suite/galera/t/galera_var_dirty_reads.test | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mysql-test/suite/galera/t/galera_var_dirty_reads.test b/mysql-test/suite/galera/t/galera_var_dirty_reads.test index dd7bc88cb1c..48fbe37139c 100644 --- a/mysql-test/suite/galera/t/galera_var_dirty_reads.test +++ b/mysql-test/suite/galera/t/galera_var_dirty_reads.test @@ -39,12 +39,18 @@ SET @@session.wsrep_dirty_reads=ON; SELECT * FROM t1; -#Select query which does not access table should be allowed MDEV-11016 +--echo # +--echo # MDEV-11016: wsrep_node_is_ready() check is too strict +--echo # SET @@session.wsrep_dirty_reads=OFF; SELECT 2; -SELECT @@max_allowed_packet; SELECT 2+2 from DUAL; -SELECT sysdate() from DUAL; +SET @VAR=1; +SELECT @VAR; +--disable_result_log +SELECT @@max_allowed_packet; +SELECT SYSDATE() from DUAL; +--enable_result_log --disable_query_log --eval SET @@global.wsrep_cluster_address = '$wsrep_cluster_address_saved' |