1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00

r10422: ldb_search() can now use tdb_traverse_read() to ensure it can run in

parallel with any transaction
This commit is contained in:
Andrew Tridgell
2005-09-22 13:14:12 +00:00
committed by Gerald (Jerry) Carter
parent 7dd31288a7
commit ddff66298f

View File

@@ -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);