Commit 5b11591d authored by Aapo Romu's avatar Aapo Romu Committed by Howard Chu
Browse files

ITS#9630 back-sql: Close transactions after bind and search

parent ab3db653
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment