Small bug in v5.10.0.10

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Small bug in v5.10.0.10

Post by swierzbicki » Mon 10 Sep 2007 17:19

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

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 11 Sep 2007 11:53

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.

Post Reply