Bug #34243 | SET var_name = DEFAULT: nonsensical result | ||
---|---|---|---|
Submitted: | 1 Feb 2008 23:43 | Modified: | 19 May 2010 0:10 |
Reporter: | Paul DuBois | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | any | OS: | Any |
Assigned to: | Gleb Shchepa | CPU Architecture: | Any |
[1 Feb 2008 23:43]
Paul DuBois
[1 Feb 2008 23:46]
Paul DuBois
If a decision is made that assigning DEFAULT to a session-only variable should indeed have no effect, I suggest that the server should produce an error for SET var_name = DEFAULT rather than silently doing nothing.
[1 Feb 2008 23:47]
Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[19 May 2010 0:10]
Paul DuBois
Fixed in 5.5.3/6.0.14 by WL#4738. See 5.5.3/6.0.14 changelog entry on handling of system variables and command-line options.