use transactions in ldbadd, ldbmodify and ldbedit
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2008 03:39:42 +0000 (14:39 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2008 03:39:42 +0000 (14:39 +1100)
commitf320e3a659d2ef701e3770071375ca9781d98325
tree6111488b1156e5a22a470aa50f432ad202f2c1a2
parent936d76802f98d04d9743b2ca8eeeaadd4362db51
use transactions in ldbadd, ldbmodify and ldbedit

The command line tools ldbadd, ldbmodify and ldbedit should operate
within a transaction to make them more efficient. The ldbadd tool in
particular is much faster when adding a large number of records if all
the adds happen within a transaction. Previously there was a
transaction per record.
source4/lib/ldb/tools/ldbadd.c
source4/lib/ldb/tools/ldbedit.c
source4/lib/ldb/tools/ldbmodify.c