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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.