mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
default changed not to run idempotent, but test requires it because of how ndb logs updates as write
This commit is contained in:
@ -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;
|
|||||||
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;
|
|||||||
|
|
||||||
=== 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 @@
|
|||||||
|
|
||||||
-- 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 @@
|
|||||||
-- 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;
|
|||||||
--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,
|
||||||
|
Reference in New Issue
Block a user