Bug #52805 | max-allowed_packet confusion | ||
---|---|---|---|
Submitted: | 14 Apr 2010 5:53 | Modified: | 14 Apr 2010 6:18 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.1.44 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[14 Apr 2010 5:53]
Peter Laursen
[14 Apr 2010 6:15]
MySQL Verification Team
Docs here: http://tinyurl.com/nrrjjw say "As of MySQL 5.1.31, the session value of this variable is read only. Before 5.1.31, setting the session value is allowed but has no effect." But, the table says BOTH for the variable scope in the table. The reason the max_allowed_packet variable was made to readonly on the session level was: o) it never worked anyway and was ignored, o) if it was made to work, it could break slaves, o) if it was made to work, a user might send a 1G packet, and exhaust memory!
[14 Apr 2010 6:18]
MySQL Verification Team
Forgot to say, i'm writing to docs to ask them to change "Table 5.2. System Variable Summary" and say scope is global for max_allowed_packet:)
[14 Apr 2010 6:18]
Sveta Smirnova
Thank you for the report. See Shane's comment. Regarding to "BOTH" I believe this is correct, because SESSION variable still exists, although read-only.