]> git.sur5r.net Git - openldap/commitdiff
SLAP_NVALUES: disable indexing for now
authorKurt Zeilenga <kurt@openldap.org>
Thu, 27 Feb 2003 06:37:10 +0000 (06:37 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 27 Feb 2003 06:37:10 +0000 (06:37 +0000)
servers/slapd/mr.c

index 129c2455c13f0444dc112930dc03e6b927b16d4e..3f6e9ea4c0c87199002c2dbff46317707b9273e7 100644 (file)
@@ -178,11 +178,15 @@ mr_add(
        smr->smr_oidlen = strlen( mr->mr_oid );
        smr->smr_usage = def->mrd_usage;
        smr->smr_compat_syntaxes = compat_syn;
-       smr->smr_convert = def->mrd_convert;
        smr->smr_normalize = def->mrd_normalize;
        smr->smr_match = def->mrd_match;
+#ifdef SLAP_NVALUES
+       /* disable indexing for now */
+#else
+       smr->smr_convert = def->mrd_convert;
        smr->smr_indexer = def->mrd_indexer;
        smr->smr_filter = def->mrd_filter;
+#endif
        smr->smr_associated = amr;
 
        if ( smr->smr_syntax_oid ) {