dbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.build_3.2.0_ctdb.37
commit6179fe894d3d4a8f645c8bc0c6fd3ba65579cbb5
authorMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 14:43:26 +0000 (15 16:43 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 16 Jul 2008 11:15:26 +0000 (16 13:15 +0200)
tree49a170b1d4f5148bf88678a3901a869bc19a880a
parent84e842f11225ae5ab84c4797a11160aab82f9e87
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
(cherry picked from commit 1002507b56a13420d8178c5397610edd839a7584)
source/lib/dbwrap.c