Specify a power of 2 for the maximum size of an index slot.
The default is 16, yielding a maximum slot size of 2^16 or 65536.
-The specified value must be in the range of 16-31.
+The specified value must be in the range of 16-30.
This setting helps with the case where certain search filters are
slow to return results due to an index slot having collapsed to a
Specify a power of 2 for the maximum size of an index slot.
The default is 16, yielding a maximum slot size of 2^16 or 65536.
-The specified value must be in the range of 16-31.
+The specified value must be in the range of 16-30.
This setting helps with the case where certain search filters are
slow to return results due to an index slot having collapsed to a
Specify a power of 2 for the maximum size of an index slot.
The default is 16, yielding a maximum slot size of 2^16 or 65536.
Once set, this option applies to every \fBmdb\fP database instance.
-The specified value must be in the range of 16-31.
+The specified value must be in the range of 16-30.
.LP
These
mdb_idl_reset();
c->bi->bi_private = 0;
} else {
- if ( c->value_int >= MDB_IDL_LOGN && c->value_int < sizeof(int) * CHAR_BIT ) {
+ /* with 32 bit ints, db_size max is 2^30 and um_size max is 2^31 */
+ if ( c->value_int >= MDB_IDL_LOGN && ( c->value_int < sizeof(int) * CHAR_BIT - 1 )) {
MDB_idl_logn = c->value_int;
mdb_idl_reset();
c->bi->bi_private = (void *)8; /* non-NULL to show we're using it */