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:
ed13d4a
)
ITS#8117 cleanup prev commit
author
Howard Chu
<hyc@openldap.org>
Wed, 29 Apr 2015 16:28:21 +0000
(17:28 +0100)
committer
Howard Chu
<hyc@openldap.org>
Wed, 29 Apr 2015 16:28:21 +0000
(17:28 +0100)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
892dd04
..
f6c293c
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-7203,10
+7203,6
@@
mdb_xcursor_init1(MDB_cursor *mc, MDB_node *node)
DPRINTF(("Sub-db -%u root page %"Z"u", mx->mx_cursor.mc_dbi,
mx->mx_db.md_root));
mx->mx_dbflag = DB_VALID|DB_DIRTY; /* DB_DIRTY guides mdb_cursor_touch */
-#if UINT_MAX < SIZE_MAX
- if (mx->mx_dbx.md_cmp == mdb_cmp_int && mx->mx_db.md_pad == sizeof(size_t))
- mx->mx_dbx.md_cmp = mdb_cmp_clong;
-#endif
}
/** Initialize a cursor for a given transaction and database. */