]> git.sur5r.net Git - openldap/commitdiff
revert changes for persistent search
authorJong Hyuk Choi <jongchoi@openldap.org>
Thu, 25 Sep 2003 02:14:20 +0000 (02:14 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Thu, 25 Sep 2003 02:14:20 +0000 (02:14 +0000)
servers/slapd/back-bdb/ctxcsn.c

index 293670417cd0f128b6922abac8bb45573b707cea..182ad7bb3e756609bb20fd89627aae1149bd3ed5 100644 (file)
@@ -269,9 +269,9 @@ bdb_get_commit_csn(
                        struct berval bv;
                        sprintf( substr, "cn=syncrepl%d", op->o_bd->syncinfo->id );
                        ber_str2bv( substr, 0, 0, &bv );
-                       build_new_dn( &ctxcsn_ndn, &op->o_bd->be_nsuffix[0], &bv, op->o_tmpmemctx );
+                       build_new_dn( &ctxcsn_ndn, &op->o_bd->be_nsuffix[0], &bv, NULL );
                } else {
-                       build_new_dn( &ctxcsn_ndn, &op->o_bd->be_nsuffix[0], (struct berval *)&slap_ldapsync_cn_bv, op->o_tmpmemctx );
+                       build_new_dn( &ctxcsn_ndn, &op->o_bd->be_nsuffix[0], (struct berval *)&slap_ldapsync_cn_bv, NULL );
                }
 
 ctxcsn_retry :