Refresh IBDAC 6.1.6

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lrauti
Posts: 18
Joined: Fri 03 Jan 2014 16:22

Refresh IBDAC 6.1.6

Post by lrauti » Tue 03 Apr 2018 04:44

This change in TGDSRecordSet.Reopen procedure:

Code: Select all

        if FCommand.FSQLType = SQL_SELECT_FOR_UPD then
          Res := GDS.isc_dsql_free_statement(FCommand.FStatusVector, FCommand.FStmtHandle, DSQL_close);
        {A cursor only needs to be closed in this manner if it was previously opened and associated with stmt_handle by ­isc_dsql_set_cursor_name().
        http://docwiki.embarcadero.com/InterBase/XE7/en/Isc_dsql_free_statement()}
Is causing "Attempt to reopen an open cursor" error when dataset is refreshed. This didn't happen in IBDAC 6.1.5. Should we change our code somehow or is this a bug?

If I put that "if FCommand.FSQLType..." line in comment, it works but...

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

Re: Refresh IBDAC 6.1.6

Post by ViktorV » Tue 03 Apr 2018 10:01

We have already fixed the issue. This fix will be included in the next build of IBDAC.
To solve the problem, you can comment the specified line.

lrauti
Posts: 18
Joined: Fri 03 Jan 2014 16:22

Re: Refresh IBDAC 6.1.6

Post by lrauti » Tue 03 Apr 2018 10:16

Ok, thanks.

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

Re: Refresh IBDAC 6.1.6

Post by ViktorV » Tue 03 Apr 2018 10:18

Thank you for the interest in our products.
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.

Post Reply