Bug #29537 | Replication failure on DROP PROCEDURE, DROP TEMPORARY TABLE | ||
---|---|---|---|
Submitted: | 4 Jul 2007 1:44 | Modified: | 23 Jul 2010 1:27 |
Reporter: | Timothy Smith | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.1.39 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | regression |
[4 Jul 2007 1:44]
Timothy Smith
[8 Jul 2007 9:39]
Valeriy Kravchuk
Thank you for a problem report. Maybe I missed something, but with your .test and .result files I've got on SuSE Linux 9.3: openxs@linux:~/dbs/5.1/mysql-test> ./mysql-test-run.pl --ps-protocol rpl_trs Logging: ./mysql-test-run.pl --ps-protocol rpl_trs 070707 16:35:46 [Note] /home/openxs/dbs/5.1/libexec/mysqld: Shutdown complete MySQL Version 5.1.21 Using binlog format 'mixed' Using ndbcluster when necessary, mysqld supports it Skipping SSL, mysqld not compiled with SSL mysql-test-run: WARNING: Could not find all required ndb binaries, all ndb tests will fail, use --skip-ndbcluster to skip testing it. Using MTR_BUILD_THREAD = 0 Using MASTER_MYPORT = 9306 Using MASTER_MYPORT1 = 9307 Using SLAVE_MYPORT = 9308 Using SLAVE_MYPORT1 = 9309 Using SLAVE_MYPORT2 = 9310 Using NDBCLUSTER_PORT = 9310 Using NDBCLUSTER_PORT_SLAVE = 9311 Using IM_PORT = 9312 Using IM_MYSQLD1_PORT = 9313 Using IM_MYSQLD2_PORT = 9314 Killing Possible Leftover Processes Removing Stale Files Creating Directories Installing Master Database Installing Master Database Installing Slave1 Database ======================================================= Starting Tests in the 'main' suite TEST RESULT TIME (ms) ------------------------------------------------------- rpl_trs [ pass ] 191 ------------------------------------------------------- Stopping All Servers All 1 tests were successful. The servers were restarted 1 times Spent 0.191 seconds actually executing testcases So, more ideas on how to repeat are welcomed.
[8 Aug 2007 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[6 Dec 2009 22:38]
Roel Van de Paar
Verifying as D2. Using the following test case I was able to more-or-less consistently repeat the bug. For some unknown reason, the bug was not 100% consistently repeatable. Verified on 5.1.39 using a standard replication setup. Possible regression: error does *not* occur on 5.1.36 using same testcase. On the master execute: ------------ DROP TABLE IF EXISTS t21; DROP TABLE IF EXISTS t21_slave; DROP PROCEDURE IF EXISTS test_replication_sp21; CREATE TABLE t21 (ID INT); CREATE TEMPORARY TABLE t21_slave SELECT * FROM t21 WHERE 1=0; CREATE PROCEDURE test_replication_sp21() BEGIN INSERT INTO t21 VALUES (1); /* Generates an expected error */ DELIMITER | CREATE PROCEDURE test_replication_sp21() BEGIN INSERT INTO t21 VALUES (1); END| DELIMITER ; DROP PROCEDURE test_replication_sp21; DROP TABLE t21, t21_slave; ------------ Expected result: ------------ mysql> SHOW SLAVE STATUS\G [...] Slave_IO_Running: Yes Slave_SQL_Running: No [...] Last_Errno: 1051 Last_Error: Error 'Unknown table 't21_slave'' on query. Default database: 'roelt'. Query: 'DROP TABLE t21, t21_slave' [...] Last_SQL_Errno: 1051 Last_SQL_Error: Error 'Unknown table 't21_slave'' on query. Default database: 'roelt'. Query: 'DROP TABLE t21, t21_slave' ------------
[7 Dec 2009 6:00]
Roel Van de Paar
Also note bug #30882
[22 Jul 2010 5:59]
Daogang Qu
The bug is fixed in the patch of Bug#49132.
[23 Jul 2010 1:27]
Daogang Qu
Duplicate with BUG#49132.