From: Howard Chu Date: Tue, 29 Nov 2011 13:57:36 +0000 (-0800) Subject: ITS#7099 fix dds db_open X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5b7c44a136954476906395fe371d3bda581056ef;p=openldap ITS#7099 fix dds db_open Should not do anything in tool mode. --- 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; }