summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-11-29 22:36:48 +0100
committerMichael Adam <obnox@samba.org>2011-11-30 01:46:31 +0100
commit0ee447fef5563e2b26fac6cac7c8fd7a71c80c0a (patch)
tree8da5fb5227ee6d900292782c7277551085b87eb1 /source3/lib/dbwrap
parent184e8e52182ce28d8a68c1a6904fdd7dad89ef4d (diff)
downloadsamba-0ee447fef5563e2b26fac6cac7c8fd7a71c80c0a.tar.gz
samba-0ee447fef5563e2b26fac6cac7c8fd7a71c80c0a.tar.bz2
samba-0ee447fef5563e2b26fac6cac7c8fd7a71c80c0a.zip
s3:dbwrap_tdb: pass NTSTATUS code further up from db_tdb_fetch_parse in db_tdb_fetch()
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 30 01:46:31 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r--source3/lib/dbwrap/dbwrap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_tdb.c b/source3/lib/dbwrap/dbwrap_tdb.c
index cf761e24f0..ffdb906405 100644
--- a/source3/lib/dbwrap/dbwrap_tdb.c
+++ b/source3/lib/dbwrap/dbwrap_tdb.c
@@ -191,7 +191,7 @@ static NTSTATUS db_tdb_fetch(struct db_context *db, TALLOC_CTX *mem_ctx,
}
if (!NT_STATUS_IS_OK(state.result)) {
- return NT_STATUS_INTERNAL_DB_CORRUPTION;
+ return state.result;
}
*pdata = state.data;