Page 1 of 1

Problem with Unidac 7.2.6 and Firebird 2.5.8

Posted: Wed 04 Apr 2018 06:46
by DanielNTM
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.

Re: Problem with Unidac 7.2.6 and Firebird 2.5.8

Posted: Wed 04 Apr 2018 07:22
by ViktorV
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
.

Re: Problem with Unidac 7.2.6 and Firebird 2.5.8

Posted: Wed 04 Apr 2018 08:43
by frickler
Just this single line (in ReOpen procedure)? The problem also occurs with Firebird 3.03.

Re: Problem with Unidac 7.2.6 and Firebird 2.5.8

Posted: Wed 04 Apr 2018 08:58
by ViktorV
Yes, you are right - the single line in the TGDSRecordSet.Reopen method. Example: