From: Howard Chu Date: Wed, 29 Apr 2015 16:28:21 +0000 (+0100) Subject: ITS#8117 cleanup prev commit X-Git-Tag: LMDB_0.9.15~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47c4e747a0ce58f9ecfb5b9615f4c2b6d0753024;p=openldap ITS#8117 cleanup prev commit --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index acb0e449f5..19705a0618 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -7085,10 +7085,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. */