default changed not to run idempotent, but test requires it because of how ndb...

default changed not to run idempotent, but test requires it because of how ndb logs updates as write
parent 93e21899
...@@ -4,6 +4,7 @@ reset master; ...@@ -4,6 +4,7 @@ reset master;
reset slave; reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave; start slave;
set @@global.slave_exec_mode= 'IDEMPOTENT';
CREATE TABLE mysql.ndb_apply_status CREATE TABLE mysql.ndb_apply_status
( server_id INT UNSIGNED NOT NULL, ( server_id INT UNSIGNED NOT NULL,
epoch BIGINT UNSIGNED NOT NULL, epoch BIGINT UNSIGNED NOT NULL,
......
...@@ -4,6 +4,7 @@ reset master; ...@@ -4,6 +4,7 @@ reset master;
reset slave; reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave; start slave;
set @@global.slave_exec_mode= 'IDEMPOTENT';
CREATE TABLE mysql.ndb_apply_status CREATE TABLE mysql.ndb_apply_status
( server_id INT UNSIGNED NOT NULL, ( server_id INT UNSIGNED NOT NULL,
epoch BIGINT UNSIGNED NOT NULL, epoch BIGINT UNSIGNED NOT NULL,
......
...@@ -8,6 +8,7 @@ SET storage_engine=ndb; ...@@ -8,6 +8,7 @@ SET storage_engine=ndb;
=== NDB -> MYISAM === === NDB -> MYISAM ===
set @@global.slave_exec_mode= 'IDEMPOTENT';
CREATE TABLE mysql.ndb_apply_status CREATE TABLE mysql.ndb_apply_status
( server_id INT UNSIGNED NOT NULL, ( server_id INT UNSIGNED NOT NULL,
epoch BIGINT UNSIGNED NOT NULL, epoch BIGINT UNSIGNED NOT NULL,
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
-- connection slave -- connection slave
-- source include/have_innodb.inc -- source include/have_innodb.inc
set @@global.slave_exec_mode= 'IDEMPOTENT';
CREATE TABLE mysql.ndb_apply_status CREATE TABLE mysql.ndb_apply_status
( server_id INT UNSIGNED NOT NULL, ( server_id INT UNSIGNED NOT NULL,
epoch BIGINT UNSIGNED NOT NULL, epoch BIGINT UNSIGNED NOT NULL,
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
-- source include/master-slave.inc -- source include/master-slave.inc
-- connection slave -- connection slave
set @@global.slave_exec_mode= 'IDEMPOTENT';
CREATE TABLE mysql.ndb_apply_status CREATE TABLE mysql.ndb_apply_status
( server_id INT UNSIGNED NOT NULL, ( server_id INT UNSIGNED NOT NULL,
epoch BIGINT UNSIGNED NOT NULL, epoch BIGINT UNSIGNED NOT NULL,
......
...@@ -17,6 +17,7 @@ SET storage_engine=ndb; ...@@ -17,6 +17,7 @@ SET storage_engine=ndb;
--echo === NDB -> MYISAM === --echo === NDB -> MYISAM ===
--echo --echo
connection slave; connection slave;
set @@global.slave_exec_mode= 'IDEMPOTENT';
CREATE TABLE mysql.ndb_apply_status CREATE TABLE mysql.ndb_apply_status
( server_id INT UNSIGNED NOT NULL, ( server_id INT UNSIGNED NOT NULL,
epoch BIGINT UNSIGNED NOT NULL, epoch BIGINT UNSIGNED NOT NULL,
......
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