Bug #37654 | lex backup_compression not being set when no compression | ||
---|---|---|---|
Submitted: | 26 Jun 2008 5:39 | Modified: | 21 Jul 2008 17:04 |
Reporter: | Stewart Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Parser | Severity: | S3 (Non-critical) |
Version: | 6.0 | OS: | Any |
Assigned to: | Stewart Smith | CPU Architecture: | Any |
[26 Jun 2008 5:39]
Stewart Smith
[18 Jul 2008 1:58]
Marc ALFF
The fix is: opt_compression: /* empty */ { Lex->backup_compression= false; } | WITH COMPRESSION_SYM opt_compression_algorithm { Lex->backup_compression= true; } ; and is approved.
[21 Jul 2008 17:04]
Paul DuBois
Noted in 6.0.7 changelog. For BACKUP DATABASE, if the WITH COMPRESSION clause was not used, a server crash resulted due to an uninitialized variable.
[21 Jul 2008 17:08]
Paul DuBois
Modified changelog entry: For BACKUP DATABASE, if the WITH COMPRESSION clause was not used, an uninitialized variable could cause unpredictable results.