29.04.2015 21:55, Howard Chu пишет:
Leonid Yuriev wrote:
But what about 5-bytes keys from indexer?
- How ones should be compared, as a 4-byte int without MSB, or as a
padded 8-byte long?
The indexer doesn't use MDB_INTEGER so your question is irrelevant.
OK, but then - what is the purpose of MDB_INTEGERDUP in mdb_attr_dbs_open()?
flags = MDB_DUPSORT|MDB_DUPFIXED|MDB_INTEGERDUP; if ( !(slapMode & SLAP_TOOL_READONLY) ) flags |= MDB_CREATE;
Think it is not necessary, is it?
Leonid.