Skip to content

Commit

Permalink
Issue 6374 - Fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
progier389 committed Nov 12, 2024
1 parent f2e2af2 commit 8cdad2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ldap/servers/slapd/back-ldbm/db-mdb/mdb_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ dbmdb_compute_limits(struct ldbminfo *li)
* But some tunable may be autotuned.
*/
if (dbmdb_count_config_entries("(objectClass=nsMappingTree)", &nbsuffixes) ||
dbmdb_count_config_entries("(objectClass=nsIndex)", &nbsuffixes) ||
dbmdb_count_config_entries("(objectClass=nsIndex)", &nbindexes) ||
dbmdb_count_config_entries("(objectClass=vlvIndex)", &nbvlvs) ||
dbmdb_count_config_entries("(objectClass=nsds5replicationagreement)", &nbagmt)) {
/* error message is already logged */
Expand Down
3 changes: 2 additions & 1 deletion ldap/servers/slapd/back-ldbm/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
#define NEED_DN_NORM_SP -25
#define NEED_DN_NORM_BT -26

pthread_mutex_t import_ctx_mutex = PTHREAD_MUTEX_INITIALIZER; /* Protect agains import context destruction */
/* Protect against import context destruction */
static pthread_mutex_t import_ctx_mutex = PTHREAD_MUTEX_INITIALIZER;


/********** routines to manipulate the entry fifo **********/
Expand Down

0 comments on commit 8cdad2d

Please sign in to comment.