mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
68b51ff01c
mysql-test/extra/rpl_tests/rpl_insert_id.test: Updated wiht 1022 error, order by and PK for use with NDB engine mysql-test/r/rpl_insert_id.result: Updated wiht 1022 error, order by and PK for use with NDB engine mysql-test/t/rpl_skip_error.test: updated to wrk with ndb mysql-test/r/rpl_skip_error.result: updated to wrk with ndb mysql-test/t/rpl_sporadic_master.test: updated to wrk with ndb mysql-test/r/rpl_sporadic_master.result: updated to wrk with ndb mysql-test/t/rpl_row_trig002.test: updated to work with NDB engine mysql-test/r/rpl_row_trig002.result: updated to work with NDB engine mysql-test/t/rpl_temporary.test: updated to work with NDB engine mysql-test/r/rpl_temporary.result: updated to work with NDB engine mysql-test/extra/rpl_tests/rpl_row_001.test: updated to work with NDB as default engine mysql-test/r/rpl_row_001.result: updated to work with NDB as default engine mysql-test/t/rpl_row_blob_innodb.test: Fixed bug in test case mysql-test/t/rpl_row_blob_innodb-slave.opt: Added slave option file to ensure correct engine type on slave mysql-test/r/rpl_row_blob_innodb.result: Updated results mysql-test/r/rpl_row_blob_myisam.result: Updated results mysql-test/r/rpl_ndb_log.result: update results file
29 lines
929 B
Text
29 lines
929 B
Text
#############################################################
|
|
# 2006-02-07 By JBM added order by
|
|
#############################################################
|
|
# test to see if replication can continue when master sporadically fails on
|
|
# COM_BINLOG_DUMP and additionally limits the number of events per dump
|
|
|
|
source include/master-slave.inc;
|
|
|
|
create table t2(n int);
|
|
create table t1(n int not null auto_increment primary key);
|
|
insert into t1 values (NULL),(NULL);
|
|
truncate table t1;
|
|
# We have to use 4 in the following to make this test work with all table types
|
|
insert into t1 values (4),(NULL);
|
|
sync_slave_with_master;
|
|
stop slave;
|
|
start slave;
|
|
connection master;
|
|
insert into t1 values (NULL),(NULL);
|
|
flush logs;
|
|
truncate table t1;
|
|
insert into t1 values (10),(NULL),(NULL),(NULL),(NULL),(NULL);
|
|
sync_slave_with_master;
|
|
select * from t1 ORDER BY n;
|
|
connection master;
|
|
drop table t1,t2;
|
|
sync_slave_with_master;
|
|
|
|
# End of 4.1 tests
|