MyDAC bug when dealing with user-defined functions
Posted: 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.
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.