]> git.sur5r.net Git - openldap/commitdiff
ITS#5798, don't use per-DB schema-check flag
authorHoward Chu <hyc@openldap.org>
Sat, 8 Nov 2008 16:48:48 +0000 (16:48 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 8 Nov 2008 16:48:48 +0000 (16:48 +0000)
servers/slapd/syncrepl.c

index 199c882c9361943af772d30c4c0d0413c863f0c1..476cdae5536f2fc4dc37466610a62c47f6765a29 100644 (file)
@@ -4063,9 +4063,6 @@ add_syncrepl(
                        "Config: ** successfully added syncrepl \"%s\"\n",
                        BER_BVISNULL( &si->si_bindconf.sb_uri ) ?
                        "(null)" : si->si_bindconf.sb_uri.bv_val, 0, 0 );
-               if ( !si->si_schemachecking ) {
-                       SLAP_DBFLAGS(c->be) |= SLAP_DBFLAG_NO_SCHEMA_CHECK;
-               }
                if ( c->be->be_syncinfo ) {
                        si->si_cookieState = c->be->be_syncinfo->si_cookieState;
                } else {