MyDAC bug when dealing with user-defined functions

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
GuzunNicolae
Posts: 78
Joined: Wed 17 Jan 2007 14:16

MyDAC bug when dealing with user-defined functions

Post by GuzunNicolae » Tue 12 Feb 2008 12:07

Hello, CoreLab

I guess there is a bug in MyDAC executing statements involving user-defined function.
They execute well, but the problem is that when I supply a different parameter list than it is required, MyDAC seem not to handle this type of error from MySQL and it is waiting for ever for the server to return, thus hanging the application.

From MySQL I get the following error:
ERROR 1318 (42000): Incorrect number of arguments for FUNCTION dataassistant.returnparameter; expected 2, got 1

MyDAC works well though with in built functions. If I supply a different parameter list it returns the error normally.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 18 Feb 2008 09:23

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

Post Reply