More for writewait callback

Must also reset search cursors
This commit is contained in:
Howard Chu 2014-07-22 21:52:24 -07:00
parent 031640456b
commit 716b35e191

View file

@ -962,6 +962,8 @@ notfound:
if ( wwctx.flag ) {
wwctx.flag = 0;
mdb_txn_renew( ltid );
mdb_cursor_renew( mci );
mdb_cursor_renew( mcd );
}
mdb_entry_return( op, e );
@ -1003,6 +1005,8 @@ notfound:
if ( wwctx.flag ) {
wwctx.flag = 0;
mdb_txn_renew( ltid );
mdb_cursor_renew( mci );
mdb_cursor_renew( mcd );
}
rs->sr_attrs = NULL;
rs->sr_entry = NULL;