Page 1 of 1

TMyStoredProc does not return the correct code and parameters under mysql 5.0.45-community-nt

Posted: Mon 15 Feb 2021 08:09
by hkarmeh
hello

create procedure like this:

DELIMITER $$

drop PROCEDURE if exists getsum_sp$$

CREATE PROCEDURE getsum_sp(in a1 int, in a2 int, out A int)
BEGIN

Set A = a1 + a2;
END$$

DELIMITER ;

create a new c++ project and new TMyStoredProc with StoredProcName = 'getsum_sp'

doppel click the component:
1) under mariadb 10.5.8-MariaDB
the sql is: CALL getsum_sp(:a1, :a2, @A); SELECT CAST(@A AS SIGNED) AS '@A'
and the parameters that return are correct.

2) under mysql 5.0.45-community-nt:
the sql is: CALL getsum_sp()
and the parameters that return are not correct.

please help

Re: TMyStoredProc does not return the correct code and parameters under mysql 5.0.45-community-nt

Posted: Wed 17 Feb 2021 13:23
by ViktorV
Thank you for the information. We have reproduced and fixed the issue. This fix will be included in the next build of MyDAC.
We can send you the nigthly build that include the necessary changes.
Please provide your license number and IDE version to us using the contact form https://devart.com/company/contactform.html and we will send you a night build.