mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
ITS#9630 back-sql: Close transactions after bind and search
This commit is contained in:
parent
ab3db65388
commit
5b11591db9
2 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ error_return:;
|
|||
send_ldap_result( op, rs );
|
||||
}
|
||||
|
||||
SQLTransact( SQL_NULL_HENV, dbh, SQL_ROLLBACK );
|
||||
Debug( LDAP_DEBUG_TRACE,"<==backsql_bind()\n" );
|
||||
|
||||
return rs->sr_err;
|
||||
|
|
|
|||
|
|
@ -2551,6 +2551,7 @@ done:;
|
|||
op->ors_scope = LDAP_SCOPE_BASE;
|
||||
}
|
||||
|
||||
SQLTransact( SQL_NULL_HENV, dbh, SQL_ROLLBACK );
|
||||
Debug( LDAP_DEBUG_TRACE, "<==backsql_search()\n" );
|
||||
|
||||
return rs->sr_err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue