ITS#7099 fix dds db_open

Should not do anything in tool mode.
This commit is contained in:
Howard Chu 2011-11-29 05:57:36 -08:00
parent 4f298d47af
commit 5b7c44a136

View file

@ -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;
}