Bug#16993 (ALTER TABLE ZEROFILL AUTO_INCREMENT not replicated correctly):
This is not a bug. Enabling disabled test and adding comment.
This commit is contained in:
parent
04fc2d9eb8
commit
97f9cf23a8
@ -14,20 +14,22 @@ source include/master-slave.inc;
|
|||||||
#
|
#
|
||||||
SHOW VARIABLES LIKE 'relay_log_space_limit';
|
SHOW VARIABLES LIKE 'relay_log_space_limit';
|
||||||
|
|
||||||
|
# Matz says: I have no idea what this is supposed to test, but it has
|
||||||
|
# potential for generating different results with some storage engines
|
||||||
|
# that process rows in an order not dependent on the insertion order.
|
||||||
|
# For instance, I would assume that distributed storage engines (like
|
||||||
|
# NDB) could process rows based on locality.
|
||||||
|
|
||||||
eval CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=$engine_type;
|
eval CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=$engine_type;
|
||||||
INSERT INTO t1 SET name='Andy', age=31;
|
INSERT INTO t1 SET name='Andy', age=31;
|
||||||
INSERT t1 SET name='Jacob', age=2;
|
INSERT INTO t1 SET name='Jacob', age=2;
|
||||||
INSERT into t1 SET name='Caleb', age=1;
|
INSERT INTO t1 SET name='Caleb', age=1;
|
||||||
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
save_master_pos;
|
sync_slave_with_master;
|
||||||
connection slave;
|
|
||||||
sync_with_master;
|
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
connection master;
|
connection master;
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
save_master_pos;
|
sync_slave_with_master;
|
||||||
connection slave;
|
|
||||||
sync_with_master;
|
|
||||||
|
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
@ -8,9 +8,9 @@ SHOW VARIABLES LIKE 'relay_log_space_limit';
|
|||||||
Variable_name Value
|
Variable_name Value
|
||||||
relay_log_space_limit 0
|
relay_log_space_limit 0
|
||||||
CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=NDB;
|
CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=NDB;
|
||||||
INSERT INTO t1 SET name='Andy', age=31;
|
INSERT INTO t1 SET name='Andy', age=31;
|
||||||
INSERT t1 SET name='Jacob', age=2;
|
INSERT INTO t1 SET name='Jacob', age=2;
|
||||||
INSERT into t1 SET name='Caleb', age=1;
|
INSERT INTO t1 SET name='Caleb', age=1;
|
||||||
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
name age id
|
name age id
|
||||||
@ -22,4 +22,4 @@ name age id
|
|||||||
Andy 31 00000001
|
Andy 31 00000001
|
||||||
Caleb 1 00000002
|
Caleb 1 00000002
|
||||||
Jacob 2 00000003
|
Jacob 2 00000003
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
|
@ -8,9 +8,9 @@ SHOW VARIABLES LIKE 'relay_log_space_limit';
|
|||||||
Variable_name Value
|
Variable_name Value
|
||||||
relay_log_space_limit 0
|
relay_log_space_limit 0
|
||||||
CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=InnoDB;
|
CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=InnoDB;
|
||||||
INSERT INTO t1 SET name='Andy', age=31;
|
INSERT INTO t1 SET name='Andy', age=31;
|
||||||
INSERT t1 SET name='Jacob', age=2;
|
INSERT INTO t1 SET name='Jacob', age=2;
|
||||||
INSERT into t1 SET name='Caleb', age=1;
|
INSERT INTO t1 SET name='Caleb', age=1;
|
||||||
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
name age id
|
name age id
|
||||||
@ -22,4 +22,4 @@ name age id
|
|||||||
Andy 31 00000001
|
Andy 31 00000001
|
||||||
Jacob 2 00000002
|
Jacob 2 00000002
|
||||||
Caleb 1 00000003
|
Caleb 1 00000003
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
|
@ -8,9 +8,9 @@ SHOW VARIABLES LIKE 'relay_log_space_limit';
|
|||||||
Variable_name Value
|
Variable_name Value
|
||||||
relay_log_space_limit 0
|
relay_log_space_limit 0
|
||||||
CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=MyISAM;
|
CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=MyISAM;
|
||||||
INSERT INTO t1 SET name='Andy', age=31;
|
INSERT INTO t1 SET name='Andy', age=31;
|
||||||
INSERT t1 SET name='Jacob', age=2;
|
INSERT INTO t1 SET name='Jacob', age=2;
|
||||||
INSERT into t1 SET name='Caleb', age=1;
|
INSERT INTO t1 SET name='Caleb', age=1;
|
||||||
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
name age id
|
name age id
|
||||||
@ -22,4 +22,4 @@ name age id
|
|||||||
Andy 31 00000001
|
Andy 31 00000001
|
||||||
Jacob 2 00000002
|
Jacob 2 00000002
|
||||||
Caleb 1 00000003
|
Caleb 1 00000003
|
||||||
drop table t1;
|
DROP TABLE t1;
|
||||||
|
@ -28,7 +28,7 @@ rpl_ndb_ddl : result file needs update + test needs to checked
|
|||||||
rpl_ndb_innodb2ndb : BUG#18094 2006-03-16 mats Slave caches invalid table definition after atlters causes select failure
|
rpl_ndb_innodb2ndb : BUG#18094 2006-03-16 mats Slave caches invalid table definition after atlters causes select failure
|
||||||
rpl_ndb_log : BUG#18947 2006-03-21 tomas CRBR: order in binlog of create table and insert (on different table) not determ
|
rpl_ndb_log : BUG#18947 2006-03-21 tomas CRBR: order in binlog of create table and insert (on different table) not determ
|
||||||
rpl_ndb_myisam2ndb : BUG#18094 2006-03-16 mats Slave caches invalid table definition after atlters causes select failure
|
rpl_ndb_myisam2ndb : BUG#18094 2006-03-16 mats Slave caches invalid table definition after atlters causes select failure
|
||||||
rpl_ndb_relay_space : BUG#16993 2006-02-16 jmiller RBR: ALTER TABLE ZEROFILL AUTO_INCREMENT is not replicated correctly
|
#rpl_ndb_relay_space : BUG#16993 2006-02-16 jmiller RBR: ALTER TABLE ZEROFILL AUTO_INCREMENT is not replicated correctly
|
||||||
rpl_switch_stm_row_mixed : BUG#18590 2006-03-28 brian
|
rpl_switch_stm_row_mixed : BUG#18590 2006-03-28 brian
|
||||||
#rpl_row_basic_7ndb : BUG#17400 2006-04-09 brian Cluster Replication: delete & update of rows in table without pk fails on slave.
|
#rpl_row_basic_7ndb : BUG#17400 2006-04-09 brian Cluster Replication: delete & update of rows in table without pk fails on slave.
|
||||||
rpl_row_blob_innodb : BUG#18980 2006-04-10 kent Test fails randomly
|
rpl_row_blob_innodb : BUG#18980 2006-04-10 kent Test fails randomly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user