mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
More for ITS#6892
This commit is contained in:
parent
0d0d64518f
commit
3cb2ca8bbd
1 changed files with 3 additions and 1 deletions
|
|
@ -1304,10 +1304,12 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
|
||||||
op2.o_extra = op->o_extra;
|
op2.o_extra = op->o_extra;
|
||||||
op2.o_callback = NULL;
|
op2.o_callback = NULL;
|
||||||
if (ss->s_flags & PS_FIX_FILTER) {
|
if (ss->s_flags & PS_FIX_FILTER) {
|
||||||
|
Filter *f;
|
||||||
/* Skip the AND/GE clause that we stuck on in front. We
|
/* Skip the AND/GE clause that we stuck on in front. We
|
||||||
would lose deletes/mods that happen during the refresh
|
would lose deletes/mods that happen during the refresh
|
||||||
phase otherwise (ITS#6555) */
|
phase otherwise (ITS#6555) */
|
||||||
op2.ors_filter = ss->s_op->ors_filter->f_and->f_next;
|
f = ss->s_op->ors_filter->f_and->f_next;
|
||||||
|
if ( f ) op2.ors_filter = f;
|
||||||
}
|
}
|
||||||
ldap_pvt_thread_mutex_unlock( &ss->s_mutex );
|
ldap_pvt_thread_mutex_unlock( &ss->s_mutex );
|
||||||
rc = test_filter( &op2, e, op2.ors_filter );
|
rc = test_filter( &op2, e, op2.ors_filter );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue