From: Pierangelo Masarati Date: Wed, 26 Jan 2005 10:27:38 +0000 (+0000) Subject: remove overoptimistic assertion X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~243 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e047657f067b03c2349e9e96d2d1ac7ec12db440;p=openldap remove overoptimistic assertion --- diff --git a/servers/slapd/back-ldap/chain.c b/servers/slapd/back-ldap/chain.c index 6322cf3750..a772b5209c 100644 --- a/servers/slapd/back-ldap/chain.c +++ b/servers/slapd/back-ldap/chain.c @@ -314,7 +314,13 @@ ldap_chain_response( Operation *op, SlapReply *rs ) char textbuf[ SLAP_TEXT_BUFLEN ]; size_t textlen = sizeof( textbuf ); +#if 0 + /* FIXME: op->o_bd is still set to the BackendDB + * structure of the database that tried to handle + * the operation and actually returned a referral + * ... */ assert( SLAP_DBFLAGS( op->o_bd ) & SLAP_DBFLAG_GLOBAL_OVERLAY ); +#endif /* global overlay: create entry */ /* NOTE: this is a hack to use the chain overlay