mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#8117 cleanup prev commit
This commit is contained in:
parent
ba45e0c05a
commit
47c4e747a0
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user