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:
parent
d5e3d6f3b0
commit
43e4a78b48
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user