Page 1 of 1

Refresh IBDAC 6.1.6

Posted: Tue 03 Apr 2018 04:44
by lrauti
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...

Re: Refresh IBDAC 6.1.6

Posted: Tue 03 Apr 2018 10:01
by ViktorV
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.

Re: Refresh IBDAC 6.1.6

Posted: Tue 03 Apr 2018 10:16
by lrauti
Ok, thanks.

Re: Refresh IBDAC 6.1.6

Posted: Tue 03 Apr 2018 10:18
by ViktorV
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.