Bug #85723 | Changing the global binlog format does not affect existing sessions | ||
---|---|---|---|
Submitted: | 31 Mar 2017 2:08 | Modified: | 16 Nov 2017 7:43 |
Reporter: | monty solomon | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.7.13 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[31 Mar 2017 2:08]
monty solomon
[31 Mar 2017 9:33]
MySQL Verification Team
Hello Monty, Thank you for the report. Imho this is an expected and documented behavior per manual - "If you change a global system variable, the value is remembered and used for new sessions until you change the variable to a different value or the server exits. The change is visible to any client that accesses the global variable. However, the change affects the corresponding session variable only for clients that connect after the change. The global variable change does not affect the session variable for any current client sessions (not even the session within which the SET GLOBAL statement occurred)." - https://dev.mysql.com/doc/refman/5.7/en/set-variable.html Thanks, Umesh
[31 Mar 2017 19:05]
monty solomon
Change the wording "all clients" to something like "all future clients" or "all new clients" to make it clearer.
[16 Nov 2017 7:43]
Erlend Dahl
[3 Nov 2017 5:34] Paul Dubois https://dev.mysql.com/doc/refman/5.7/en/binary-log-setting.html updated.