projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208e5c6
)
Tweak prev commit: Restore if-test as an assert
author
Hallvard Furuseth
<hallvard@openldap.org>
Wed, 20 Feb 2013 08:08:41 +0000
(09:08 +0100)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Wed, 20 Feb 2013 08:08:41 +0000
(09:08 +0100)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index d2cbba264880205af35b129da9c9eee962e3ddc4..a6193c704d60ed16f845e91240f2ffba8a86eff3 100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-1631,6
+1631,7
@@
finish:
return 0;
}
}
+ assert(mc->mc_txn->mt_u.dirty_list[0].mid < MDB_IDL_UM_MAX);
/* No - copy it */
np = mdb_page_malloc(mc);
if (!np)