summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-09-21 11:45:32 +0200
committerAndrew Tridgell <tridge@samba.org>2011-10-11 10:15:18 +0200
commitfea02ce1771ddb2ee09a442a86def72a01b9582e (patch)
treeca7d4d7e7e833c6c9109a9fd8b30e32f64cacfdf /lib
parent21d053d120cbc665ed8c0afe82598220a608f2af (diff)
downloadsamba-fea02ce1771ddb2ee09a442a86def72a01b9582e.tar.gz
samba-fea02ce1771ddb2ee09a442a86def72a01b9582e.tar.bz2
samba-fea02ce1771ddb2ee09a442a86def72a01b9582e.zip
ldb:ldb_autotransaction_request - error string shouldn't be set here
A generic error string should be set independently of the access mechanism to an LDB operation. Hence it should be handled in "ldb_wait" and "ldb_request" Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 11 10:15:18 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/common/ldb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ldb/common/ldb.c b/lib/ldb/common/ldb.c
index 4a0d8043cc..cd6172a1e8 100644
--- a/lib/ldb/common/ldb.c
+++ b/lib/ldb/common/ldb.c
@@ -564,11 +564,6 @@ static int ldb_autotransaction_request(struct ldb_context *ldb,
}
ldb_transaction_cancel(ldb);
- if (ldb->err_string == NULL) {
- /* no error string was setup by the backend */
- ldb_asprintf_errstring(ldb, "%s (%d)", ldb_strerror(ret), ret);
- }
-
return ret;
}