Commit 25519637 authored by Mattias Jonsson's avatar Mattias Jonsson

post-push fix for test to work on row-based-replication

parent a998586d
...@@ -41,13 +41,6 @@ ALTER TABLE t1 TRUNCATE PARTITION p0; ...@@ -41,13 +41,6 @@ ALTER TABLE t1 TRUNCATE PARTITION p0;
ALTER TABLE t1 DROP PARTITION p0; ALTER TABLE t1 DROP PARTITION p0;
show binlog events in 'master-bin.000001' from <binlog_start>; show binlog events in 'master-bin.000001' from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info 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 ANALYZE PARTITION p0
master-bin.000001 # Query # # use `test`; ALTER TABLE t1 OPTIMIZE 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 master-bin.000001 # Query # # use `test`; ALTER TABLE t1 REPAIR PARTITION p0
......
...@@ -9,9 +9,6 @@ DROP TABLE IF EXISTS t1; ...@@ -9,9 +9,6 @@ DROP TABLE IF EXISTS t1;
--echo # but the statement is written to binlog --echo # but the statement is written to binlog
--echo # --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) CREATE TABLE t1(id INT)
PARTITION BY RANGE (id) PARTITION BY RANGE (id)
(PARTITION p0 VALUES LESS THAN (100), (PARTITION p0 VALUES LESS THAN (100),
...@@ -19,6 +16,9 @@ PARTITION BY RANGE (id) ...@@ -19,6 +16,9 @@ PARTITION BY RANGE (id)
INSERT INTO t1 VALUES (1), (10), (100), (1000); 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 --error ER_WRONG_PARTITION_NAME
ALTER TABLE t1 TRUNCATE PARTITION p1; ALTER TABLE t1 TRUNCATE PARTITION p1;
--error ER_DROP_PARTITION_NON_EXISTENT --error ER_DROP_PARTITION_NON_EXISTENT
......
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