mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 13:40:37 -05:00
ITS#4210 don't setup indexing threads if no indexing is defined.
This commit is contained in:
parent
b3c8a976ec
commit
d84ffb62a6
1 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,8 @@ int bdb_tool_entry_open(
|
|||
}
|
||||
|
||||
/* Set up for threaded slapindex */
|
||||
if (( slapMode & (SLAP_TOOL_QUICK|SLAP_TOOL_READONLY)) == SLAP_TOOL_QUICK) {
|
||||
if (( slapMode & (SLAP_TOOL_QUICK|SLAP_TOOL_READONLY)) == SLAP_TOOL_QUICK
|
||||
&& bdb->bi_nattrs ) {
|
||||
if ( !bdb_tool_info ) {
|
||||
int i;
|
||||
ldap_pvt_thread_mutex_init( &bdb_tool_index_mutex );
|
||||
|
|
|
|||
Loading…
Reference in a new issue