Bug #9100 | Replication: suspicious-looking binlog entries if function present | ||
---|---|---|---|
Submitted: | 10 Mar 2005 19:30 | Modified: | 10 Jun 2005 17:17 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.3-alpha-debug-log | OS: | Linux (SUSE 9.2) |
Assigned to: | Guilhem Bichot | CPU Architecture: | Any |
[10 Mar 2005 19:30]
Peter Gulutzan
[10 Mar 2005 20:45]
Guilhem Bichot
Yes, this issue will be addressed when "replication of stored procedures (CREATE PROCEDURE and CALL with right privileges)" (WL#2146) is completed. We will always disable binlogging inside the function call.
[17 Apr 2005 8:57]
Guilhem Bichot
Being worked on now, as well as companion BUG#2610.
[19 Apr 2005 9:28]
Guilhem Bichot
Too hard and imperfect with statement-level binary logging of 5.0. Will be fixed in 5.1 with record-level binary logging. To avoid slave stops, I'll just disable binlogging of these suspicious entries in 5.0.
[20 Apr 2005 21:50]
Guilhem Bichot
I disabled binlogging of the routine's substatements in 5.0.5. Note that SELECT myfunc() will not be binlogged even if myfunc() updates data (will be documented); but INSERT INTO t VALUES(myfunc()) will be binlogged (what decides is if the caller gets binlogged; the function changes nothing to binlogging). In 5.1 we will have record-level binary logging which will remove this to-be-documented caveat.
[10 May 2005 14:00]
Guilhem Bichot
Will talk with Paul about documentation of this bugfix.
[10 Jun 2005 17:17]
Paul DuBois
Noted in 5.0.5 changelog. Further more general documentation is pending, relating to Bug #2610.
[14 Jun 2005 19:42]
Paul DuBois
Changelog entry has been moved to 5.0.6.