Bug #116 SET statements enclosed in executable comments confuse parser
Submitted: 3 Mar 2003 7:41 Modified: 21 Mar 2003 4:34
Reporter: Zak Greant Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.0.11-gamma-max-log OS:Linux (Debian Linux Unstable 2.4.18-bf2)
Assigned to: CPU Architecture:Any

[3 Mar 2003 7:44] Zak Greant
Executing a statement like: 
/*! SET variable=value; */ 
causes the mysql command line client to believe that the 
command was not completed and causes the next query to 
fail. 
 
Moving the semi-colon outside of the quote solves the 
problem, but completely defeats the intent of the 
executable comment. :) 
 
Inserting a second semi-colon is a temporary work-around.
[21 Mar 2003 4:34] Jani Tolonen
Fixed.

Regards,
Jani