From 67b485e3eeba6ab5a3e17f968b1f2f14b8169e74 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Thu, 25 Sep 2003 02:14:20 +0000 Subject: [PATCH] revert changes for persistent search --- servers/slapd/back-bdb/ctxcsn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/ctxcsn.c b/servers/slapd/back-bdb/ctxcsn.c index 293670417c..182ad7bb3e 100644 --- a/servers/slapd/back-bdb/ctxcsn.c +++ b/servers/slapd/back-bdb/ctxcsn.c @@ -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 : -- 2.39.5