Commit b498a922 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

better fix to ITS#3433

parent 0fe40e4e
...@@ -260,10 +260,9 @@ over_op_func( ...@@ -260,10 +260,9 @@ over_op_func(
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: used to happen for instance during abandon
/* FIXME: happens for instance during abandon... */ * when global overlays are used... */
return 0; assert( op->o_bd != NULL );
}
oi = op->o_bd->bd_info->bi_private; oi = op->o_bd->bd_info->bi_private;
on = oi->oi_list; on = oi->oi_list;
......
...@@ -722,6 +722,7 @@ static void connection_abandon( Connection *c ) ...@@ -722,6 +722,7 @@ static void connection_abandon( Connection *c )
next = LDAP_STAILQ_NEXT( o, o_next ); next = LDAP_STAILQ_NEXT( o, o_next );
op.orn_msgid = o->o_msgid; op.orn_msgid = o->o_msgid;
o->o_abandon = 1; o->o_abandon = 1;
op.o_bd = frontendDB;
frontendDB->be_abandon( &op, &rs ); frontendDB->be_abandon( &op, &rs );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment