Fix prev commit

This commit is contained in:
Howard Chu 2014-07-22 21:55:23 -07:00
parent 716b35e191
commit 4f05d992f2

View File

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