Tweak prev commit: Restore if-test as an assert

vmware
Hallvard Furuseth 12 years ago
parent 208e5c614d
commit fbd76c44e4
  1. 1
      libraries/liblmdb/mdb.c

@ -1631,6 +1631,7 @@ finish:
return 0; return 0;
} }
} }
assert(mc->mc_txn->mt_u.dirty_list[0].mid < MDB_IDL_UM_MAX);
/* No - copy it */ /* No - copy it */
np = mdb_page_malloc(mc); np = mdb_page_malloc(mc);
if (!np) if (!np)

Loading…
Cancel
Save