Commit f16145a5 authored by Andrei Elkin's avatar Andrei Elkin

merging fixes of bug@45576 to 5.1-bt

parents b3c6f110 5693e220
...@@ -241,10 +241,12 @@ STOP SLAVE; ...@@ -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 ...@@ -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 ...@@ -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 @@ ...@@ -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; ...@@ -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); ...@@ -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; ...@@ -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;
......
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