dbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.
commit1002507b56a13420d8178c5397610edd839a7584
authorMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 14:43:26 +0000 (15 16:43 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 14:43:26 +0000 (15 16:43 +0200)
treec26d6a0be399918c72bef9232ae43af9d1db5076
parent308fc7d5bf5f5ccfc73677b052a4e6ecede25921
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
source/lib/dbwrap.c