summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-22 13:14:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:44 -0500
commit1828b783cf2e975c8cfc1be3eb857d9c6fbda94b (patch)
tree257ce96d24615b67928412bed269c50b9d3d50b5
parentbd310b792509f7305d7dc029eb4bec109322a4bf (diff)
downloadsamba-1828b783cf2e975c8cfc1be3eb857d9c6fbda94b.tar.gz
samba-1828b783cf2e975c8cfc1be3eb857d9c6fbda94b.tar.bz2
samba-1828b783cf2e975c8cfc1be3eb857d9c6fbda94b.zip
r10422: ldb_search() can now use tdb_traverse_read() to ensure it can run in
parallel with any transaction (This used to be commit ddff66298f1a668c5220e24fc47f98d7dfc3068a)
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/source4/lib/ldb/ldb_tdb/ldb_search.c
index 83079eab81..9af62c7754 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_search.c
@@ -472,7 +472,7 @@ static int ltdb_search_full(struct ldb_module *module,
sinfo->count = 0;
sinfo->failures = 0;
- ret = tdb_traverse(ltdb->tdb, search_func, sinfo);
+ ret = tdb_traverse_read(ltdb->tdb, search_func, sinfo);
if (ret == -1) {
talloc_free(sinfo);