Bug #9313 Multi-line statements not replicated properly?

Submitted: 21 Mar 2005 13:19 Modified: 21 Mar 2005 13:34
Reporter: Tim Gustafson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S2 (Serious)
Version:4.1.10 OS:FreeBSD (FreeBSD 4.11)
Assigned to: CPU Architecture:Any

[21 Mar 2005 13:19] Tim Gustafson
Description:
My replication slave has stopped with the following error:

==========
Last_Errno: 1064
Last_Error: Error 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
update LayoutGraphics set Name = 'content-lower-top-left' where ID = 1013;
upd' at line 1' on query. Default database: 'ws1001'. Query: 'update LayoutGraphics set Name = 'content-lower-top-center' where ID = 1015;
update LayoutGraphics set Name = 'content-lower-top-left' where ID = 1013;
update LayoutGraphics set Name = 'content-lower-top-right' where ID = 1014;
update LayoutGraphics set Name = 'content-lower-middle-center' where ID = 1018;
update LayoutGraphics set Name = 'content-lower-middle-left' where ID = 1016;
update LayoutGraphics set Name = 'content-lower-middle-right' where ID = 1017;
update LayoutGraphics set Name = 'content-lower-bottom-center' where ID = 1021;
update LayoutGraphics set Name = 'content-lower-bottom-left' where ID = 1019;
update LayoutGraphics set Name = 'content-lower-bottom-right' where ID = 1020;
update LayoutGraphics set Name = 'conten
==========

The query in question did execute successfully on the master, however it seems that the slave is not replicating multi-line statements correctly. Is there anything I can do to fix this?

How to repeat:
Issue a multi-line statement on a master server and the slave seems not to be able to process the statement.
[21 Mar 2005 13:33] Guilhem Bichot
Hi,
Thanks for your bug report. This is a duplicate of BUG#8436, fixed in 4.1.11.
[21 Mar 2005 13:34] Guilhem Bichot
I.e. the *master* will have to be upgraded to 4.1.11.

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

Page generated in 0.050 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.