Do not start a transaction this way.
authorSimo Sorce <idra@samba.org>
Thu, 22 Jan 2009 16:51:37 +0000 (11:51 -0500)
committerSimo Sorce <idra@samba.org>
Thu, 22 Jan 2009 16:54:51 +0000 (11:54 -0500)
commit3942e53357146c9c5419313efc4c91b85f7e508b
treebb839fb523177bce4fe3655ebb2c5050bf333ef4
parent031f24694197ab2c90418c5a5285a2932b71e998
Do not start a transaction this way.
Because we still want to commit any changes that successfully apply we
never want to do a global cancel, and because of how transaction nesting
works that means we never cancel any "transaction" at the single modify
operation level.

Let each operation start its own transaction so that the transaction is
properly canceled if any error is returned and half committed operations
(though plugins failing) are properly reverted on a per operation basis.
source4/lib/ldb/tools/ldbmodify.c