Skip to content

Commit

Permalink
issue 6430 - Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
progier389 committed Dec 4, 2024
1 parent 172c87f commit e38e67e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions ldap/servers/slapd/back-ldbm/db-bdb/bdb_bdbreader_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include "bdb_layer.h"
#include <robdb.h>

#define DEBUG 1

/*
* This file contains the stub that transform usual bdb API (limited to the function 389-ds needs to export a db and a changelog
* to bdb_ro callbacks
Expand Down Expand Up @@ -248,7 +246,7 @@ int db_close(DB *db, u_int32_t flags)

int dbc_close(DBC *dbc)
{
bdbreader_bdb_close(dbc->impl);
bdbreader_cur_close(dbc->impl);
dbc->impl = NULL;
slapi_ch_free((void **)&dbc);
return DB_SUCCESS;
Expand Down
3 changes: 0 additions & 3 deletions ldap/servers/slapd/back-ldbm/dbimpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ const char *dblayer_op2str(dbi_op_t op)
return str[idx];
}

<<<<<<< HEAD
/* Get the li_directory directory from the database instance name -
* Caller should free the returned value
*/
Expand Down Expand Up @@ -440,8 +439,6 @@ get_li_directory(const char *fname)
}

/* Open db env, db and db file privately (for dbscan) */
=======
/* Open db env, db and db file privately (used by dbscan) */
int dblayer_private_open(const char *plgname, const char *dbfilename, int rw, Slapi_Backend **be, dbi_env_t **env, dbi_db_t **db)
{
struct ldbminfo *li;
Expand Down

0 comments on commit e38e67e

Please sign in to comment.