Skip to content

Commit

Permalink
TEST: try a batch_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-tikhonov committed Feb 27, 2025
1 parent e2408c2 commit 9ebbad3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 453 deletions.
7 changes: 6 additions & 1 deletion src/db/sysdb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ errno_t sysdb_ldb_connect(TALLOC_CTX *mem_ctx,
goto done;
}

ret = ldb_connect(ldb, filename, flags, NULL);
const char *options[] = {
"batch_mode",
NULL
};

ret = ldb_connect(ldb, filename, flags, options);
if (ret != LDB_SUCCESS) {
ret = EIO;
goto done;
Expand Down
Loading

0 comments on commit 9ebbad3

Please sign in to comment.