Bug #53466 | end_connection() should reference global_system_variables.log_warnings | ||
---|---|---|---|
Submitted: | 6 May 2010 14:30 | Modified: | 10 Nov 2011 19:09 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S3 (Non-critical) |
Version: | 5.1.46, 5.5.4 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | log_warnings |
[6 May 2010 14:30]
Shane Bester
[10 Nov 2011 19:09]
Paul DuBois
Noted in 5.6.4 changelog. Previously, "Aborted connection" errors were written to the error log based on the session value of log_warnings, which permitted users with minimal privileges to cause many messages to be written to the log unless restricted by the MAX_CONNECTIONS_PER_HOUR resource limit. Now this logging is based on the global log_warnings variable. There are no remaining uses of the session log_warnings variable, so it has been removed that the variable has only a global value. Also updated log_warnings description to indicate that it is global only.
[26 Sep 2012 9:12]
MySQL Verification Team
the patch for this bug made it not possible to enable session-level warnings in future, in case it would be needed. http://bugs.mysql.com/bug.php?id=66953