mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
temporarily work around ITS#3433; need to understand why it happens and how to fix it correctly
This commit is contained in:
parent
fe30850765
commit
0fe40e4ebd
1 changed files with 10 additions and 2 deletions
|
|
@ -253,13 +253,21 @@ over_op_func(
|
||||||
enum op_which which
|
enum op_which which
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
slap_overinfo *oi = op->o_bd->bd_info->bi_private;
|
slap_overinfo *oi;
|
||||||
slap_overinst *on = oi->oi_list;
|
slap_overinst *on;
|
||||||
BI_op_bind **func;
|
BI_op_bind **func;
|
||||||
BackendDB *be = op->o_bd, db;
|
BackendDB *be = op->o_bd, db;
|
||||||
slap_callback cb = {NULL, over_back_response, NULL, NULL};
|
slap_callback cb = {NULL, over_back_response, NULL, NULL};
|
||||||
int rc = SLAP_CB_CONTINUE;
|
int rc = SLAP_CB_CONTINUE;
|
||||||
|
|
||||||
|
if ( op->o_bd == NULL ) {
|
||||||
|
/* FIXME: happens for instance during abandon... */
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
oi = op->o_bd->bd_info->bi_private;
|
||||||
|
on = oi->oi_list;
|
||||||
|
|
||||||
if ( !SLAP_ISOVERLAY( op->o_bd )) {
|
if ( !SLAP_ISOVERLAY( op->o_bd )) {
|
||||||
db = *op->o_bd;
|
db = *op->o_bd;
|
||||||
db.be_flags |= SLAP_DBFLAG_OVERLAY;
|
db.be_flags |= SLAP_DBFLAG_OVERLAY;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue