Commit 6d783b6a authored by Jan Lindström's avatar Jan Lindström

MW-388

MariaDB adjustments.
parent f4f2e8fa
...@@ -10,6 +10,8 @@ INSERT INTO t1 VALUES (3, 'node 1'); ...@@ -10,6 +10,8 @@ INSERT INTO t1 VALUES (3, 'node 1');
END| END|
SET GLOBAL wsrep_slave_threads = 2; SET GLOBAL wsrep_slave_threads = 2;
SET GLOBAL DEBUG = "d,sync.wsrep_apply_cb"; SET GLOBAL DEBUG = "d,sync.wsrep_apply_cb";
Warnings:
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
INSERT INTO t1 VALUES (1, 'node 2');; INSERT INTO t1 VALUES (1, 'node 2');;
SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached"; SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
SET SESSION wsrep_sync_wait = 0; SET SESSION wsrep_sync_wait = 0;
...@@ -17,6 +19,8 @@ SET SESSION DEBUG_SYNC = 'wsrep_after_replication SIGNAL wsrep_after_replication ...@@ -17,6 +19,8 @@ SET SESSION DEBUG_SYNC = 'wsrep_after_replication SIGNAL wsrep_after_replication
CALL insert_proc ();; CALL insert_proc ();;
SET SESSION DEBUG_SYNC = "now WAIT_FOR wsrep_after_replication_reached"; SET SESSION DEBUG_SYNC = "now WAIT_FOR wsrep_after_replication_reached";
SET GLOBAL DEBUG = ""; SET GLOBAL DEBUG = "";
Warnings:
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
SET DEBUG_SYNC = "now SIGNAL wsrep_after_replication_continue"; SET DEBUG_SYNC = "now SIGNAL wsrep_after_replication_continue";
SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb"; SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb";
SELECT @errno = 1213; SELECT @errno = 1213;
...@@ -33,3 +37,10 @@ f1 f2 ...@@ -33,3 +37,10 @@ f1 f2
SET GLOBAL wsrep_slave_threads = DEFAULT; SET GLOBAL wsrep_slave_threads = DEFAULT;
DROP TABLE t1; DROP TABLE t1;
DROP PROCEDURE insert_proc; DROP PROCEDURE insert_proc;
SET GLOBAL debug = NULL;
Warnings:
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
SET debug_sync='RESET';
SELECT @@debug_sync;
@@debug_sync
ON - current signal: ''
...@@ -65,4 +65,10 @@ SELECT * FROM t1; ...@@ -65,4 +65,10 @@ SELECT * FROM t1;
--connection node_1 --connection node_1
SET GLOBAL wsrep_slave_threads = DEFAULT; SET GLOBAL wsrep_slave_threads = DEFAULT;
DROP TABLE t1; DROP TABLE t1;
DROP PROCEDURE insert_proc; DROP PROCEDURE insert_proc;
\ No newline at end of file
SET GLOBAL debug = NULL;
SET debug_sync='RESET';
# Make sure no pending signals are leftover to surprise subsequent tests.
SELECT @@debug_sync;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment