mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
More fixes for autosubtype index generation
This commit is contained in:
parent
f4cfb13f2c
commit
fde56a188c
@ -299,7 +299,6 @@ static int index_at_values(
|
||||
*dbnamep = type->sat_cname.bv_val;
|
||||
} else if ( tmpmask & SLAP_INDEX_AUTO_SUBTYPES ) {
|
||||
mask = tmpmask;
|
||||
*maskp = mask;
|
||||
}
|
||||
|
||||
if( mask ) {
|
||||
@ -309,6 +308,9 @@ static int index_at_values(
|
||||
mask );
|
||||
|
||||
if( rc ) return rc;
|
||||
if( mask & SLAP_INDEX_AUTO_SUBTYPES ) {
|
||||
*maskp = mask;
|
||||
}
|
||||
}
|
||||
|
||||
if( lang->bv_len ) {
|
||||
|
@ -265,7 +265,6 @@ static int index_at_values(
|
||||
*dbnamep = type->sat_cname.bv_val;
|
||||
} else if ( tmpmask & SLAP_INDEX_AUTO_SUBTYPES ) {
|
||||
mask = tmpmask;
|
||||
*maskp = mask;
|
||||
}
|
||||
|
||||
if( mask ) {
|
||||
@ -273,6 +272,9 @@ static int index_at_values(
|
||||
&type->sat_cname,
|
||||
vals, id, op,
|
||||
mask );
|
||||
if ( mask & SLAP_INDEX_AUTO_SUBTYPES ) {
|
||||
*maskp = mask;
|
||||
}
|
||||
}
|
||||
|
||||
if( lang->bv_len ) {
|
||||
|
Loading…
Reference in New Issue
Block a user