Bug #70492 | Loading binary logs for point-in-time recover produces "Invalid Syntax" errors | ||
---|---|---|---|
Submitted: | 2 Oct 2013 20:16 | Modified: | 2 Mar 2016 17:18 |
Reporter: | Roger Hill | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | Cluster 7.2.12 | OS: | Linux (CentOS 6.4) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[2 Oct 2013 20:16]
Roger Hill
[3 Oct 2013 19:30]
Roger Hill
It appears that some of the queries are missing a '/*!*/; at the end of the query string. When I add these in manually, I do not get the syntax error. This problem occurred in numerous places through the script. Example: This is what was orginally in the script created from the binary log with mysqlbinlog: BINLOG ' ejpFUhMBAAAAZgAAAPEthACAABUDAAAAAAEACG5kYl90ZXN0ABRfYWN0X2FjdGl2aXR5X3N0YXR1 cwAWCAwHDAwD/gj+CAP+A/4DD/7+DA8ICBDe/d79/jz+PP0C/h7+Hu4Cet8m ejpFUhMBAAAARgAAADcuhACAAEIDAAAAAAEACG5kYl90ZXN0ABRfYWN0X2FjdGl2aXR5X3RocmVh ZAAGCAgIDAwPAv8APA== ejpFUh4BAAAAMgAAAOxChAAAABUDAAAAAAAAAgAWAQDB/JFiAAAAAAAAB0hPTERfVE0= ejpFUh4BAAAAswAAAGlGhAAAAEIDAAAAAAAAAgAG//DDiAIAAAAAAAoAAAAAAAAAAQAAAAAAAABj RcEYTxIAAPDEiAIAAAAAAAsAAAAAAAAAAQAAAAAAAABjRcEYTxIAAODDiAIAAAAAAAoAAAAAAAAA AQAAAAAAAABjRcEYTxIAAGNFwRhPEgAA4MSIAgAAAAAACwAAAAAAAAABAAAAAAAAAGNFwRhPEgAA Y0XBGE8SAAA= ejpFUh4BAAAASAAAAMJWhAAAAEIDAAAAAAAAAgAG/+DCiAIAAAAAAAEAAAAAAAAACAAAAAAAAABi RcEYTxIAAGJFwRhPEgAA # at 8674324 Adding '/*!*/; as follows resolved the syntax error: BINLOG ' ejpFUhMBAAAAZgAAAPEthACAABUDAAAAAAEACG5kYl90ZXN0ABRfYWN0X2FjdGl2aXR5X3N0YXR1 cwAWCAwHDAwD/gj+CAP+A/4DD/7+DA8ICBDe/d79/jz+PP0C/h7+Hu4Cet8m ejpFUhMBAAAARgAAADcuhACAAEIDAAAAAAEACG5kYl90ZXN0ABRfYWN0X2FjdGl2aXR5X3RocmVh ZAAGCAgIDAwPAv8APA== ejpFUh4BAAAAMgAAAOxChAAAABUDAAAAAAAAAgAWAQDB/JFiAAAAAAAAB0hPTERfVE0= ejpFUh4BAAAAswAAAGlGhAAAAEIDAAAAAAAAAgAG//DDiAIAAAAAAAoAAAAAAAAAAQAAAAAAAABj RcEYTxIAAPDEiAIAAAAAAAsAAAAAAAAAAQAAAAAAAABjRcEYTxIAAODDiAIAAAAAAAoAAAAAAAAA AQAAAAAAAABjRcEYTxIAAGNFwRhPEgAA4MSIAgAAAAAACwAAAAAAAAABAAAAAAAAAGNFwRhPEgAA Y0XBGE8SAAA= ejpFUh4BAAAASAAAAMJWhAAAAEIDAAAAAAAAAgAG/+DCiAIAAAAAAAEAAAAAAAAACAAAAAAAAABi RcEYTxIAAGJFwRhPEgAA '/*!*/; # at 8674324
[4 Oct 2013 8:44]
MySQL Verification Team
Hello Roger, Thank you for the bug report. Could you please upload binary log rn1-db-1_binary_log.000141? Compress it before uploading and make it private if you prefer. Also, this appears to me similar to the one reported in Bug #69253 / #65812 Thanks, Umesh
[2 Mar 2016 17:16]
MySQL Verification Team
Hi, Thanks for all the details. I will have to recheck but there was a bug IIRC in 7.2.12 fixed in july 2014 (7.2.17 iirc) so the first thing you should do, especially if you are still in the testing phase, is to go to latest 7.2.23 (or even better to latest 7.4). I'll get back to you when I confirm where the problem is kind regards Bogdan Kecman
[2 Mar 2016 17:18]
MySQL Verification Team
Hi, Unfortunately the log files you uploaded to the ftp are no longer available (old SR). I'm testing with latest 7.2/7.4 and I cannot reproduce this issue. kind regards Bogdan Kecman