mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
8e476e6cbe
mysql_tzinfo_to_sql tries to set wsrep_replicate_myisam as SESSION variable, while its a GLOBAL-only system variable, and thus the resulting sql would fail to load. Fixed by changing the scope to GLOBAL in the SET command. Also added following include files to facilitate testing : * include/have_wsrep.inc * include/not_wsrep.inc * include/have_wsrep_enabled.inc
7 lines
254 B
SQL
7 lines
254 B
SQL
# To be used in a test which should be skipped if server is compiled with wsrep
|
|
# support (-DWITH_WSREP=ON) and wsrep plugin is ACTIVE.
|
|
|
|
-- require r/not_wsrep.require
|
|
disable_query_log;
|
|
SELECT VERSION() LIKE '%wsrep%' AS 'HAVE_WSREP';
|
|
enable_query_log;
|