mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
dbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.
return NULL instead and leave appropriated measures to the caller.
Michael
(This used to be commit 1002507b56
)
This commit is contained in:
parent
3899851af0
commit
fc6216b2da
@ -118,7 +118,7 @@ struct db_context *db_open_trans(TALLOC_CTX *mem_ctx,
|
||||
if (tdb_flags & TDB_CLEAR_IF_FIRST) {
|
||||
DEBUG(0,("db_open_trans: called with TDB_CLEAR_IF_FIRST: %s\n",
|
||||
name));
|
||||
smb_panic("db_open_trans: called with TDB_CLEAR_IF_FIRST");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef CLUSTER_SUPPORT
|
||||
|
Loading…
Reference in New Issue
Block a user