mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#7170 fix Quick mode index generation
This commit is contained in:
parent
aa33f4b220
commit
c4d78a17c3
@ -413,9 +413,6 @@ mdb_idl_insert_keys(
|
||||
|
||||
assert( id != NOID );
|
||||
|
||||
if ( slapMode & SLAP_TOOL_QUICK )
|
||||
flag |= MDB_APPEND;
|
||||
|
||||
#ifndef MISALIGNED_OK
|
||||
if (keys[0].bv_len & 0x03)
|
||||
kbuf[1] = 0;
|
||||
@ -493,6 +490,8 @@ mdb_idl_insert_keys(
|
||||
}
|
||||
} else {
|
||||
/* There's room, just store it */
|
||||
if ( slapMode & SLAP_TOOL_QUICK )
|
||||
flag |= MDB_APPEND;
|
||||
goto put1;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user