#At file:///Users/mattiasj/mysql-bzr/topush-5.5-bugteam/ based on revid:mattias.jonsson@stripped
3165 Mattias Jonsson 2010-12-03
post-push fix for test to work on row-based-replication
modified:
mysql-test/r/partition_binlog.result
mysql-test/t/partition_binlog.test
=== modified file 'mysql-test/r/partition_binlog.result'
--- a/mysql-test/r/partition_binlog.result 2010-12-01 21:47:40 +0000
+++ b/mysql-test/r/partition_binlog.result 2010-12-03 13:05:33 +0000
@@ -41,13 +41,6 @@ ALTER TABLE t1 TRUNCATE PARTITION p0;
ALTER TABLE t1 DROP PARTITION p0;
show binlog events in 'master-bin.000001' from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info
-master-bin.000001 # Query # # use `test`; CREATE TABLE t1(id INT)
-PARTITION BY RANGE (id)
-(PARTITION p0 VALUES LESS THAN (100),
-PARTITION pmax VALUES LESS THAN (MAXVALUE))
-master-bin.000001 # Query # # BEGIN
-master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES (1), (10), (100), (1000)
-master-bin.000001 # Query # # COMMIT
master-bin.000001 # Query # # use `test`; ALTER TABLE t1 ANALYZE PARTITION p0
master-bin.000001 # Query # # use `test`; ALTER TABLE t1 OPTIMIZE PARTITION p0
master-bin.000001 # Query # # use `test`; ALTER TABLE t1 REPAIR PARTITION p0
=== modified file 'mysql-test/t/partition_binlog.test'
--- a/mysql-test/t/partition_binlog.test 2010-12-01 21:47:40 +0000
+++ b/mysql-test/t/partition_binlog.test 2010-12-03 13:05:33 +0000
@@ -9,9 +9,6 @@ DROP TABLE IF EXISTS t1;
--echo # but the statement is written to binlog
--echo #
---let $binlog_file=query_get_value(SHOW MASTER STATUS, File, 1)
---let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
-
CREATE TABLE t1(id INT)
PARTITION BY RANGE (id)
(PARTITION p0 VALUES LESS THAN (100),
@@ -19,6 +16,9 @@ PARTITION BY RANGE (id)
INSERT INTO t1 VALUES (1), (10), (100), (1000);
+--let $binlog_file=query_get_value(SHOW MASTER STATUS, File, 1)
+--let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
+
--error ER_WRONG_PARTITION_NAME
ALTER TABLE t1 TRUNCATE PARTITION p1;
--error ER_DROP_PARTITION_NON_EXISTENT
Attachment: [text/bzr-bundle] bzr/mattias.jonsson@oracle.com-20101203130533-sj4s9mx0dwoentz4.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5-bugteam branch (mattias.jonsson:3165) | Mattias Jonsson | 3 Dec |