ITS#7455 simplify

Don't try to reclaim overflow pages while operating on
the freelist (for now). The circular dependencies are much like
the single-page case, but worse. Maybe look into this in the
future, but it's not absolutely necessary now.
vmware
Howard Chu 12 years ago
parent e26fc73417
commit aff2693fc0
  1. 5
      libraries/liblmdb/mdb.c

@ -1347,6 +1347,11 @@ none:
mdb_cursor_init(&m2, txn, FREE_DBI, NULL); mdb_cursor_init(&m2, txn, FREE_DBI, NULL);
do { do {
/* bail out if we're operating on the freelist.
* TODO: get all of this working. Many circular dependencies...
*/
if (mc->mc_dbi == FREE_DBI)
break;
if (readit) { if (readit) {
MDB_val key, data; MDB_val key, data;
MDB_oldpages *mop2; MDB_oldpages *mop2;

Loading…
Cancel
Save