Bug #30474 | Extra master columns: dropping partition on master not on slave cause failure | ||
---|---|---|---|
Submitted: | 17 Aug 2007 14:05 | Modified: | 4 Sep 2007 12:34 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | OS: | Linux | |
Assigned to: | Lars Thalmann | CPU Architecture: | Any |
[17 Aug 2007 14:05]
Jonathan Miller
[17 Aug 2007 14:48]
Jonathan Miller
Note: Test files attached to http://bugs.mysql.com/bug.php?id=30476
[17 Aug 2007 14:49]
Jonathan Miller
Additional Note: (Miss copy) The following: connection slave; START SLAVE; ALTER TABLE t1 DROP PARTITION p5; sync_slave_with_master; Should be: connection slave; START SLAVE; connection master; ALTER TABLE t1 DROP PARTITION p5; sync_slave_with_master;
[4 Sep 2007 12:34]
Lars Thalmann
The drop partition statement can't execute on the slave since there is no partitioned table there. If there are different table defintions on master and slave you need to execute different DDL statements on the two servers (and you can not simply replicate the statements just because the end result of a statement is already what is present on the slave). Not a bug.