s4-ldb: fixed a transaction error on prepare_commit
authorAndrew Tridgell <tridge@samba.org>
Wed, 16 Dec 2009 06:12:28 +0000 (17:12 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 16 Dec 2009 09:56:23 +0000 (20:56 +1100)
commitf8320b3559956b06d3b54e7707986d03aa5084f3
tree53ffcfe153685f7aa2ee4b9a6d8f932f977f73f8
parente14c72877fa87e0e6ba0f637dd3367160f8d52b1
s4-ldb: fixed a transaction error on prepare_commit

when a prepare commit fails, we need to give a cancel to all modules,
not a commit!

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/lib/ldb/common/ldb.c