Refresh IBDAC 6.1.6
Posted: Tue 03 Apr 2018 04:44
This change in TGDSRecordSet.Reopen procedure:
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...
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()}
If I put that "if FCommand.FSQLType..." line in comment, it works but...