Using
MySQL 5.1.42-community
Microsoft Windows Vista Home-Basic SP2
DreamCode for MySQL 5.2.2.0 free edition
If I coding a function containg an unproprer assignment like
| Code: |
DECLARE iMyValue int;
DECLARE sMyDescr varchar(254);
SET sMyDescr = 'Foo';
SET iMyValue = sMyDescr; /* <-- this is an unproper assignment */
|
Let the function name is MY_TRY_FUNCTION, in the SQL Editor i write
| Code: |
SELECT MY_TRY_FUNCTION()
|
DreamCoder show the error in the classic message box, but after press OK, DreamCoder hangs
The some issue seem not happen if the run-time error occours in a stored-procedure instead of a function.
Thank-you in advance for your support
Regards