ITS#7170 fix Quick mode index generation

This commit is contained in:
Howard Chu 2012-02-22 16:01:59 -08:00
parent aa33f4b220
commit c4d78a17c3

View File

@ -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 {