mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Fix test failure on wsrep/variables test case.
This commit is contained in:
parent
f679d72679
commit
44c958dd7b
2 changed files with 10 additions and 0 deletions
9
mysql-test/include/galera_have_debug_sync.inc
Normal file
9
mysql-test/include/galera_have_debug_sync.inc
Normal file
|
@ -0,0 +1,9 @@
|
|||
--disable_query_log
|
||||
|
||||
--let $galera_have_debug_sync = `SELECT 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debug_sync_waiters'`
|
||||
|
||||
--if (!$galera_have_debug_sync) {
|
||||
--skip Test requires Galera debug library with debug_sync functionality
|
||||
}
|
||||
|
||||
--enable_query_log
|
|
@ -1,4 +1,5 @@
|
|||
--source include/have_wsrep.inc
|
||||
--source include/galera_have_debug_sync.inc
|
||||
|
||||
SET @wsrep_provider_options_saved= @@global.wsrep_provider_options;
|
||||
SET @wsrep_cluster_address_saved= @@global.wsrep_cluster_address;
|
||||
|
|
Loading…
Reference in a new issue