From 5b7c44a136954476906395fe371d3bda581056ef Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 29 Nov 2011 05:57:36 -0800 Subject: [PATCH] ITS#7099 fix dds db_open Should not do anything in tool mode. --- servers/slapd/overlays/dds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/overlays/dds.c b/servers/slapd/overlays/dds.c index 661b30942b..df51eb7e58 100644 --- a/servers/slapd/overlays/dds.c +++ b/servers/slapd/overlays/dds.c @@ -1708,6 +1708,9 @@ dds_db_open( int rc = 0; void *thrctx = ldap_pvt_thread_pool_context(); + if ( slapMode & SLAP_TOOL_MODE ) + return 0; + if ( DDS_OFF( di ) ) { goto done; } -- 2.39.5