Firebird ExecuteQueryPrepared not using AutoCommit

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
User avatar
qbitza
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 07.08.2015, 14:11

Firebird ExecuteQueryPrepared not using AutoCommit

Postby qbitza » 07.08.2015, 14:21

Hi guys,

I'm experiencing a bit of an issue with the Firebird driver.

We're executing a stored procedure that returns a value, and for some rhyme or reason the transaction is not being committed.

I've traced it to TZInterbase6PreparedStatement.ExecuteQueryPrepared which seems to be oblivious to autocommit.

For instance TZInterbase6PreparedStatement.ExecutePrepared contains:

Code: Select all

      { Autocommit statement. }
      if Connection.GetAutoCommit then
        Connection.Commit;


Is the fact that ExecuteQueryPrepared omits this by design, a bug or am I missing something?

Return to “ZeosLib 7.1 stable Forum”

Who is online

Users browsing this forum: No registered users and 1 guest