mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Bug #45576 rpl_row_create_table fails on PB2
The test failed due to Bug #29790. However, logics of the failing part does not need I_S selecting. Fixing to remove the non-deterministic I_S selecting as redundant from a part of the test dealing with BUG@22864. mysql-test/suite/rpl/r/rpl_row_create_table.result: results updated. mysql-test/suite/rpl/t/disabled.def: rpl_row_create_table is re-enabled. mysql-test/suite/rpl/t/rpl_row_create_table.test: removed a non-deterministic I_S selecting as redundant from a part of the test dealing with BUG@22864.
This commit is contained in:
@@ -241,10 +241,12 @@ STOP SLAVE;
|
|||||||
SET GLOBAL storage_engine=@storage_engine;
|
SET GLOBAL storage_engine=@storage_engine;
|
||||||
START SLAVE;
|
START SLAVE;
|
||||||
================ BUG#22864 ================
|
================ BUG#22864 ================
|
||||||
STOP SLAVE;
|
stop slave;
|
||||||
RESET SLAVE;
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
RESET MASTER;
|
reset master;
|
||||||
START SLAVE;
|
reset slave;
|
||||||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
|
start slave;
|
||||||
SET AUTOCOMMIT=0;
|
SET AUTOCOMMIT=0;
|
||||||
CREATE TABLE t1 (a INT);
|
CREATE TABLE t1 (a INT);
|
||||||
INSERT INTO t1 VALUES (1),(2),(3);
|
INSERT INTO t1 VALUES (1),(2),(3);
|
||||||
@@ -264,15 +266,6 @@ t1
|
|||||||
t2
|
t2
|
||||||
t3
|
t3
|
||||||
t4
|
t4
|
||||||
SELECT TABLE_NAME,ENGINE
|
|
||||||
FROM INFORMATION_SCHEMA.TABLES
|
|
||||||
WHERE TABLE_NAME LIKE 't_'
|
|
||||||
ORDER BY TABLE_NAME;
|
|
||||||
TABLE_NAME ENGINE
|
|
||||||
t1 MyISAM
|
|
||||||
t2 InnoDB
|
|
||||||
t3 InnoDB
|
|
||||||
t4 InnoDB
|
|
||||||
SELECT * FROM t1 ORDER BY a;
|
SELECT * FROM t1 ORDER BY a;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
@@ -334,15 +327,6 @@ t1
|
|||||||
t2
|
t2
|
||||||
t3
|
t3
|
||||||
t4
|
t4
|
||||||
SELECT TABLE_NAME,ENGINE
|
|
||||||
FROM INFORMATION_SCHEMA.TABLES
|
|
||||||
WHERE TABLE_NAME LIKE 't_'
|
|
||||||
ORDER BY TABLE_NAME;
|
|
||||||
TABLE_NAME ENGINE
|
|
||||||
t1 MyISAM
|
|
||||||
t2 InnoDB
|
|
||||||
t3 InnoDB
|
|
||||||
t4 InnoDB
|
|
||||||
SELECT * FROM t1 ORDER BY a;
|
SELECT * FROM t1 ORDER BY a;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
|
@@ -9,5 +9,3 @@
|
|||||||
# Do not use any TAB characters for whitespace.
|
# Do not use any TAB characters for whitespace.
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
rpl_row_create_table : Bug#45576 2009-12-01 joro rpl_row_create_table fails on PB2
|
|
||||||
|
@@ -136,13 +136,9 @@ START SLAVE;
|
|||||||
# BUG#22864 (Rollback following CREATE ... SELECT discards 'CREATE
|
# BUG#22864 (Rollback following CREATE ... SELECT discards 'CREATE
|
||||||
# table' from log):
|
# table' from log):
|
||||||
--echo ================ BUG#22864 ================
|
--echo ================ BUG#22864 ================
|
||||||
connection slave;
|
|
||||||
STOP SLAVE;
|
--source include/master-slave-reset.inc
|
||||||
RESET SLAVE;
|
|
||||||
connection master;
|
|
||||||
RESET MASTER;
|
|
||||||
connection slave;
|
|
||||||
START SLAVE;
|
|
||||||
connection master;
|
connection master;
|
||||||
SET AUTOCOMMIT=0;
|
SET AUTOCOMMIT=0;
|
||||||
CREATE TABLE t1 (a INT);
|
CREATE TABLE t1 (a INT);
|
||||||
@@ -160,10 +156,6 @@ INSERT INTO t1 VALUES (4),(5),(6);
|
|||||||
ROLLBACK;
|
ROLLBACK;
|
||||||
|
|
||||||
SHOW TABLES;
|
SHOW TABLES;
|
||||||
SELECT TABLE_NAME,ENGINE
|
|
||||||
FROM INFORMATION_SCHEMA.TABLES
|
|
||||||
WHERE TABLE_NAME LIKE 't_'
|
|
||||||
ORDER BY TABLE_NAME;
|
|
||||||
SELECT * FROM t1 ORDER BY a;
|
SELECT * FROM t1 ORDER BY a;
|
||||||
SELECT * FROM t2 ORDER BY a;
|
SELECT * FROM t2 ORDER BY a;
|
||||||
SELECT * FROM t3 ORDER BY a;
|
SELECT * FROM t3 ORDER BY a;
|
||||||
@@ -173,10 +165,6 @@ SELECT * FROM t4 ORDER BY a;
|
|||||||
SHOW BINLOG EVENTS FROM 106;
|
SHOW BINLOG EVENTS FROM 106;
|
||||||
sync_slave_with_master;
|
sync_slave_with_master;
|
||||||
SHOW TABLES;
|
SHOW TABLES;
|
||||||
SELECT TABLE_NAME,ENGINE
|
|
||||||
FROM INFORMATION_SCHEMA.TABLES
|
|
||||||
WHERE TABLE_NAME LIKE 't_'
|
|
||||||
ORDER BY TABLE_NAME;
|
|
||||||
SELECT * FROM t1 ORDER BY a;
|
SELECT * FROM t1 ORDER BY a;
|
||||||
SELECT * FROM t2 ORDER BY a;
|
SELECT * FROM t2 ORDER BY a;
|
||||||
SELECT * FROM t3 ORDER BY a;
|
SELECT * FROM t3 ORDER BY a;
|
||||||
|
Reference in New Issue
Block a user