8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 01:23:03 +01:00

Fixed bug with EXECUTE STATEMENT and autocommit transactions.

This commit is contained in:
dimitr 2003-02-26 11:57:36 +00:00
parent d5e3d6f3b0
commit 43e4a78b48

View File

@ -417,6 +417,11 @@ IHNDL internal_db_handles = 0;
//
static void check_autocommit(JRD_REQ request, struct tdbb* tdbb)
{
/* dimitr: we should ignore autocommit for requests
created by EXECUTE STATEMENT */
if (request->req_transaction->tra_callback_count > 0)
return;
if (request->req_transaction->tra_flags & TRA_perform_autocommit)
{
request->req_transaction->tra_flags &= ~TRA_perform_autocommit;