ITS#3369 - be is seldom NULL, now test for be == frontendDB

This commit is contained in:
Howard Chu 2004-10-27 16:28:12 +00:00
parent 0c9c90a3e9
commit 02cf375603

View file

@ -27,7 +27,7 @@ slap_operational_subschemaSubentry( Backend *be )
Attribute *a;
/* The backend wants to take care of it */
if ( be && be->be_schemadn.bv_val ) return NULL;
if ( be && be!= frontendDB && be->be_schemadn.bv_val ) return NULL;
a = ch_malloc( sizeof( Attribute ) );
a->a_desc = slap_schema.si_ad_subschemaSubentry;