ITS#8036 cleanup prev commit

This commit is contained in:
Howard Chu 2015-01-27 23:53:19 +00:00
parent 217d6ffcdb
commit 97ed9736e5

View File

@ -371,7 +371,7 @@ mdb_waitfixup( Operation *op, ww_ctx *ww, MDB_cursor *mci, MDB_cursor *mcd, ID2
int i;
key.mv_size = sizeof(ID);
for ( i=1; i<scopes[0].mid; i++ ) {
if ( !scopes[i].mval.mv_size )
if ( !scopes[i].mval.mv_data )
continue;
key.mv_data = &scopes[i].mid;
mdb_cursor_get( mcd, &key, &scopes[i].mval, MDB_SET );