#define OCDEBUG 0
+int schema_init_done = 0;
+
struct slap_internal_schema slap_schema;
static int
slap_schema_check( void )
{
/* we should only be called once after schema_init() was called */
- assert( SLAPD_GLOBAL(schema_init_done) == 1 );
+ assert( schema_init_done == 1 );
/*
* cycle thru attributeTypes to build matchingRuleUse
return LDAP_OTHER;
}
- ++SLAPD_GLOBAL(schema_init_done);
+ ++schema_init_done;
return LDAP_SUCCESS;
}