mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
ITS#7170 fix Quick mode index generation
This commit is contained in:
parent
aa33f4b220
commit
c4d78a17c3
1 changed files with 2 additions and 3 deletions
|
|
@ -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 a new issue