Critical bug in version 9.4.4, reverting to version 9.4.3

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jjmorlan
Posts: 11
Joined: Mon 31 Aug 2015 12:29

Critical bug in version 9.4.4, reverting to version 9.4.3

Post by jjmorlan » Thu 19 Aug 2021 13:17

In Delphi Rio 10.3.3, I have developed an App that works well in Android Version 9 until I update to the SDAC 9.4.4 version, in this version I code like the following do not work

In a button I add the following code

Code: Select all

sequence:= sequence + 1;
Msquery1.close;
MSQuery1.params[0].value:= 1;
MSQuery1.Open;

MSQuery1.Edit;
MSQuery1code_id.value:= sequence;
MSQuery1last_name.value:= 'Robert';
MSQuery1.Post;
This line of code will only work the first time, the next time you run it it will generate memory access error.

For this code not to be an error, this part of the code must go as follows:

Code: Select all

MSQuery1.Edit;
MSQuery1.FieldByName('code_id').Value:= sequence;
MSQuery1.FieldByName('last_name').Value:= 'Robert';
MSQuery1.Post;
Horrible, right ?

Since I updated to the SDAC 9.4.4 version, the application that has worked well began to present inexplicable errors. I wasted precious time from work trying to find an explanation. Uninstall version 9.4.4 and went back to version 9.4.3 and returned everything works perfect.

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Critical bug in version 9.4.4, reverting to version 9.4.3

Post by Stellar » Mon 06 Sep 2021 09:05

Hi,

We've reproduced the issue and started to investigate possible causes of the described behavior.
We will let you know the results as soon as we get them.

Best regards,
Sergey,
Devart Support Team

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Critical bug in version 9.4.4, reverting to version 9.4.3

Post by Stellar » Wed 16 Mar 2022 08:21

Hi,

Thank you for the information.
We have fixed the issue, and the fix will be included in the next SDAC build.

Best regards,
Sergey

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Critical bug in version 9.4.4, reverting to version 9.4.3

Post by Stellar » Wed 31 Aug 2022 17:28

Hi,

We are glad to inform you that the bug has been fixed and is included in the current build of the product.
You can download it on our website.

Best regards,
Sergey

Post Reply