From 0ee447fef5563e2b26fac6cac7c8fd7a71c80c0a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 29 Nov 2011 22:36:48 +0100 Subject: s3:dbwrap_tdb: pass NTSTATUS code further up from db_tdb_fetch_parse in db_tdb_fetch() Autobuild-User: Michael Adam Autobuild-Date: Wed Nov 30 01:46:31 CET 2011 on sn-devel-104 --- source3/lib/dbwrap/dbwrap_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit