From 8a9c5bb0f81eedd87e0afcd964e34660b564c719 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 10 Jul 2004 11:41:28 +0000 Subject: [PATCH] make sure we only get here when everything is fine --- servers/slapd/back-bdb/ctxcsn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/back-bdb/ctxcsn.c b/servers/slapd/back-bdb/ctxcsn.c index 14c83edc0e..7c2b31ec36 100644 --- a/servers/slapd/back-bdb/ctxcsn.c +++ b/servers/slapd/back-bdb/ctxcsn.c @@ -50,6 +50,8 @@ bdb_csn_commit( size_t textlen = sizeof textbuf; EntryInfo *eip = NULL; + assert( !BER_BVISNULL( &op->o_bd->be_context_csn ) ); + if ( ei ) { e = ei->bei_e; } -- 2.39.5