Page 1 of 1
Stored procedure assertion
Posted: Mon 15 Jun 2020 20:58
by viniciusfbb
Hi, I am using the last version of MyDac in delphi Sydney and sometimes when I execute a stored procedure I'm getting the assertion above
Assertion failure (D:\Projects\Delphi\Dac\MySql\Source\MyClasses.pas, line 1780).
But I don't have the license of the source to investigate it. What is this assertion?
Re: Stored procedure assertion
Posted: Mon 15 Jun 2020 21:31
by viniciusfbb
It appears to be related to ParamByName('xxxx').AsBytes. When I change to ParamByName('xxxx').AsBlob, the assertion stop.
So I have to ask when I should use AsBytes and when I should use AsBlob? And the the same apply to Fields?
In my case, the parameter of the stored procedure is
IN in_account_uuid binary(16)
Re: Stored procedure assertion
Posted: Mon 15 Jun 2020 21:46
by viniciusfbb
Sorry, I found the real problem and is in my code. --"
Re: Stored procedure assertion
Posted: Tue 16 Jun 2020 08:03
by ViktorV
Thank you for the interest to our product.
It is good to see that the problem has been solved.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.