robbat2, Thursday, July 11, 2002, 11:57:16 AM, you wrote: >>Description: r> The tokenizer is not behaving correctly with certain tokens relating to comments.
r> Correct Behaviour: r> mysql> SELECT + /* foo */ 200; r> ERROR 1064: You have an error in your SQL syntax near '+ /* foo */ 200' at line 1 r> Incorrect Behavior: r> mysql> SELECT - /* foo */ 200; r> +-----------------+ r> | - /* foo */ 200 | r> +-----------------+ r> | -200 | r> +-----------------+ r> 1 row in set (0.00 sec) r> Expected Behavior: r> mysql> SELECT - /* foo */ 200; r> ERROR 1064: You have an error in your SQL syntax near '- /* foo */ 200' at line 1 r> Analysis: r> The token '-/*' is causing problems with the comment section of the tokenizer. MySQL doesn't allow set comments in the middle of constant. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php