diff options
-rw-r--r-- | source3/lib/dbwrap/dbwrap_tdb.c | 2 |
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; |