From 034832ccd5f32658f8f199d277878985e5c65470 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 18 Oct 2010 22:13:20 +1100 Subject: s4-ldb Add LDB_REQ_SET_LOCATION to help track handler use This greatly assists in debugging what is going on with the ldb handle, as it indicates where it was created. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Mon Oct 18 11:54:46 UTC 2010 on sn-devel-104 --- source4/lib/ldb/modules/paged_searches.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/ldb/modules') diff --git a/source4/lib/ldb/modules/paged_searches.c b/source4/lib/ldb/modules/paged_searches.c index 39780cb699..bd2ea0942e 100644 --- a/source4/lib/ldb/modules/paged_searches.c +++ b/source4/lib/ldb/modules/paged_searches.c @@ -270,6 +270,7 @@ static int ps_search(struct ldb_module *module, struct ldb_request *req) ac, ps_callback, ac->req); + LDB_REQ_SET_LOCATION(ac->down_req); if (ret != LDB_SUCCESS) { return ret; } @@ -351,6 +352,7 @@ static int ps_init(struct ldb_module *module) attrs, NULL, data, check_supported_paged, NULL); + LDB_REQ_SET_LOCATION(req); if (ret != LDB_SUCCESS) { return ret; } -- cgit