Page 1 of 1

MyDAC bug when dealing with user-defined functions

Posted: Tue 12 Feb 2008 12:07
by GuzunNicolae
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.

Posted: Mon 18 Feb 2008 09:23
by Dimon
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.