Bug #40730 | MySQL changed a behavior for SQL comment(Start with '--' and no white space). | ||
---|---|---|---|
Submitted: | 14 Nov 2008 9:05 | ||
Reporter: | Meiji KIMURA | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.0.67, 5.1.29, 6.0.x | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[14 Nov 2008 9:05]
Meiji KIMURA
[17 Dec 2008 17:45]
Konstantin Osipov
Looks like a bug in the client, not on the server.
[4 May 2009 17:27]
Jim Winstead
This sounds like a side-effect of an earlier bug fix that resulted in all comments being sent to the server, instead of some simply being discarded by the client. And the server requires a space after '--'. Going back to the old behavior would just break something else, so this change in behavior should probably just be documented.