Bug #83617 | disabling SQL mode NO_ENGINE_SUBSTITUTION doesn't work for replication | ||
---|---|---|---|
Submitted: | 31 Oct 2016 8:41 | Modified: | 2 Nov 2016 7:17 |
Reporter: | Riccardo Pizzi | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.6.27, 5.6.34 | OS: | CentOS |
Assigned to: | CPU Architecture: | Any | |
Tags: | replication, sql mode |
[31 Oct 2016 8:41]
Riccardo Pizzi
[31 Oct 2016 11:42]
Riccardo Pizzi
After checking the source code, it appears that the SQL_MODE used on slave for execution of statements comes from the master's binary log. Therefore, the SQL_MODE needs to be changed on master. It would be nice to update the manual to reflect the above, as the behaviour is otherwise not what one would expect.
[2 Nov 2016 7:17]
MySQL Verification Team
Hello Riccardo, Thank you for the report. Observed this with 5.6.34 build. Thanks, Umesh
[2 Nov 2016 7:17]
MySQL Verification Team
test results
Attachment: 83617.results (application/octet-stream, text), 11.56 KiB.
[20 Jun 2019 11:44]
Mahendra Korat
We are also getting the same error once in a while. We have MySQL 5.6.32 on Windows Server 2012 R2 x64bit OS. Is there any workaround for this?