summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/lazy_commit.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-24 12:09:26 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-25 10:38:45 -0700
commit5568fcd88b2a32ba389694ee35ab521af1ea7394 (patch)
treecd3adc4f80d9064d085225f0f6dfac68ecd2fc39 /source4/dsdb/samdb/ldb_modules/lazy_commit.c
parentf4893e7d33b7c9aaafba5ce8657972d3eb600257 (diff)
downloadsamba-5568fcd88b2a32ba389694ee35ab521af1ea7394.tar.gz
samba-5568fcd88b2a32ba389694ee35ab521af1ea7394.tar.bz2
samba-5568fcd88b2a32ba389694ee35ab521af1ea7394.zip
s4-dsdb: added tagging of requests in dsdb modules
this allows you to call dsdb_req_chain_debug() in gdb or when writing debug code to see the request chain
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/lazy_commit.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/lazy_commit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/lazy_commit.c b/source4/dsdb/samdb/ldb_modules/lazy_commit.c
index 6a59a967aa..b46f88a575 100644
--- a/source4/dsdb/samdb/ldb_modules/lazy_commit.c
+++ b/source4/dsdb/samdb/ldb_modules/lazy_commit.c
@@ -50,6 +50,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
req->controls,
req, dsdb_next_callback,
req);
+ LDB_REQ_SET_LOCATION(new_req);
break;
case LDB_ADD:
ret = ldb_build_add_req(&new_req, ldb_module_get_ctx(module), req,
@@ -57,6 +58,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
req->controls,
req, dsdb_next_callback,
req);
+ LDB_REQ_SET_LOCATION(new_req);
break;
case LDB_MODIFY:
ret = ldb_build_mod_req(&new_req, ldb_module_get_ctx(module), req,
@@ -64,6 +66,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
req->controls,
req, dsdb_next_callback,
req);
+ LDB_REQ_SET_LOCATION(new_req);
break;
case LDB_DELETE:
ret = ldb_build_del_req(&new_req, ldb_module_get_ctx(module), req,
@@ -71,6 +74,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
req->controls,
req, dsdb_next_callback,
req);
+ LDB_REQ_SET_LOCATION(new_req);
break;
case LDB_RENAME:
ret = ldb_build_rename_req(&new_req, ldb_module_get_ctx(module), req,
@@ -79,6 +83,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
req->controls,
req, dsdb_next_callback,
req);
+ LDB_REQ_SET_LOCATION(new_req);
break;
case LDB_EXTENDED:
ret = ldb_build_extended_req(&new_req, ldb_module_get_ctx(module),
@@ -88,6 +93,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
req->controls,
req, dsdb_next_callback,
req);
+ LDB_REQ_SET_LOCATION(new_req);
break;
default:
ldb_set_errstring(ldb_module_get_ctx(module),