Problem with Unidac 7.2.6 and Firebird 2.5.8

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
DanielNTM
Posts: 10
Joined: Fri 14 Jul 2017 06:53
Location: Switzerland

Problem with Unidac 7.2.6 and Firebird 2.5.8

Post by DanielNTM » Wed 04 Apr 2018 06:46

We are using Delphi 7 Or Berlin with Windows 7 32/64.
With Firebird 2.5.8, it is not possible to execute a "refresh" anymore. The table is closed and the software stops.

Following our first tests, the problem comes from the unit IBClassesUni.Pas and the procedure TGDSRecordSet.Reopen. You add the following test : if FCommand.FSQLType = SQL_SELECT_FOR_UPD then ... which was not in the previous version !

Unidac is not usable with Firebird 2.5 anymore !! Could you please solve this problem as fast as possible and provide a usable version.

Thank you
Best regards.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Problem with Unidac 7.2.6 and Firebird 2.5.8

Post by ViktorV » Wed 04 Apr 2018 07:22

We have already fixed the issue. This fix will be included in the next build of UniDAC.
We can send you a UniDAC night build including the fix. Please provide your license number and IDE version to viktorv*devart*com and we will send you a night build.
To solve the problem, you can comment the specified line
if FCommand.FSQLType = SQL_SELECT_FOR_UPD then
.

frickler
Posts: 37
Joined: Wed 04 Apr 2018 08:30

Re: Problem with Unidac 7.2.6 and Firebird 2.5.8

Post by frickler » Wed 04 Apr 2018 08:43

Just this single line (in ReOpen procedure)? The problem also occurs with Firebird 3.03.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Problem with Unidac 7.2.6 and Firebird 2.5.8

Post by ViktorV » Wed 04 Apr 2018 08:58

Yes, you are right - the single line in the TGDSRecordSet.Reopen method. Example:

Post Reply