Bug #26109 multi-table update will broke replication if replicate-do-table is in use

Submitted: 6 Feb 2007 9:30 Modified: 6 Feb 2007 11:48
Reporter: Alexander Y. Fomichev Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Replication Severity:S2 (Serious)
Version:5.0.33 OS:Linux (linux)
Assigned to: CPU Architecture:Any

[6 Feb 2007 9:30] Alexander Y. Fomichev
Description:
Multiple tables update will broke replication even if tables restricted by 
'replicate-do-table' were not updated.
very similar to http://bugs.mysql.com/bug.php?id=3989

How to repeat:
The slave settings are: 
... 
replicate-do-db                 = test 
replicate-do-table              = test.a
...

DROP TABLE IF EXISTS a;
DROP TABLE IF EXISTS b;
CREATE TABLE a (i int);
CREATE TABLE b (i int, m int);
UPDATE b LEFT JOIN a USING(i) SET m=1;

ends up with:
Last_Error: Error 'Table 'test.b' doesn't exist' on query. Default database: 'test'. Query: 'UPDATE b LEFT JOIN a USING(i) SET m=1'
[6 Feb 2007 11:48] Sveta Smirnova
Thank you for the report.

It is indeed duplicate of bug #3989.

So I marked it as "Duplicate"

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.