diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-04-17 09:33:26 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-05-03 10:20:52 +0200 |
commit | d7c22d56d3f8be9b8293dd481fb450e3cf2343d3 (patch) | |
tree | f7e81729cc882a8f5d06bfa3f55c80382617d642 /lib/ldb/common/ldb.c | |
parent | 81ca9ab53b232529911ccdc3e427dffdae78bfa9 (diff) | |
download | samba-d7c22d56d3f8be9b8293dd481fb450e3cf2343d3.tar.gz |
ldb: make the successful ldb_transaction_start() message clearer
Change-Id: I00d0705484c3b53f55c4a8ec2953e92329b7408e
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat May 3 10:20:52 CEST 2014 on sn-devel-104
Diffstat (limited to 'lib/ldb/common/ldb.c')
-rw-r--r-- | lib/ldb/common/ldb.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/ldb/common/ldb.c b/lib/ldb/common/ldb.c index 36f1c37437c..c49513cfaa7 100644 --- a/lib/ldb/common/ldb.c +++ b/lib/ldb/common/ldb.c @@ -371,10 +371,14 @@ int ldb_transaction_start(struct ldb_context *ldb) ldb_strerror(status), status); } - } - if ((module && module->ldb->flags & LDB_FLG_ENABLE_TRACING)) { - ldb_debug(module->ldb, LDB_DEBUG_TRACE, "start ldb transaction error: %s", - ldb_errstring(module->ldb)); + if ((module && module->ldb->flags & LDB_FLG_ENABLE_TRACING)) { + ldb_debug(module->ldb, LDB_DEBUG_TRACE, "start ldb transaction error: %s", + ldb_errstring(module->ldb)); + } + } else { + if ((module && module->ldb->flags & LDB_FLG_ENABLE_TRACING)) { + ldb_debug(module->ldb, LDB_DEBUG_TRACE, "start ldb transaction success"); + } } return status; } |