ldb: ensure we cancel a ldb transaction
commitc298e660bd28140125f2ac6b47dff6d7c01e82ae
authorAndrew Tridgell <tridge@samba.org>
Fri, 4 Sep 2009 03:59:44 +0000 (4 13:59 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 4 Sep 2009 04:40:51 +0000 (4 14:40 +1000)
treecc7f4aba631ae803cc22fbb1654aa42db4e4260d
parent5842aa1ffdedd192d2616a6593bc8d8464dde3cd
ldb: ensure we cancel a ldb transaction

When we fail a ldbadd or ldbedit we should cancel the transaction to
prevent ldb giving a warning about having a open transaction in the
ldb destructor
source4/lib/ldb/tools/ldbadd.c
source4/lib/ldb/tools/ldbedit.c