Page 1 of 1

Small bug in v5.10.0.10

Posted: Mon 10 Sep 2007 17:19
by swierzbicki
I have noticed that an exception is raised when 2 ';' are in an SQL script :
SET
@MyVar = 300000;
;

Select @MyVar
Error #42000Empty Query is raised when open the Myquery

Posted: Tue 11 Sep 2007 11:53
by Antaeus
You provided an empty statement, that is why the exception is raised. The result will be the same if you run this multi-statement query with the standard MySQL client.