1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-08 17:02:21 +03:00
Files
mariadb/mysql-test/suite/wsrep/t/variables.test
2014-03-27 08:17:24 -04:00

37 lines
851 B
Plaintext

--source include/have_wsrep.inc
--echo
--echo # MDEV#5534: mysql_tzinfo_to_sql generates wrong query
--echo #
--echo # Testing wsrep_replicate_myisam variable.
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SELECT @@session.wsrep_replicate_myisam;
SELECT @@global.wsrep_replicate_myisam;
--error ER_GLOBAL_VARIABLE
SET SESSION wsrep_replicate_myisam= ON;
SET GLOBAL wsrep_replicate_myisam= ON;
# Reset it back.
SET GLOBAL wsrep_replicate_myisam= OFF;
--echo #
--echo # MDEV#5790: SHOW GLOBAL STATUS LIKE does not show the correct list of
--echo # variables when using "_"
--echo #
CALL mtr.add_suppression("WSREP: Could not open saved state file for reading.*");
--replace_column 2 #
SHOW VARIABLES LIKE 'wsrep%';
--echo
--replace_column 2 #
SHOW VARIABLES LIKE 'wsrep_%';
--echo # Should show nothing.
SHOW VARIABLES LIKE 'x';
--echo # End of test.