summaryrefslogtreecommitdiff
path: root/lib/ldb/tools/cmdline.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-04 12:51:00 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-10 16:40:05 +1000
commit57341c0f29911d09e511c840386a35290febb9f9 (patch)
treebf123480733183f26f4b5970c42e16dfd559339d /lib/ldb/tools/cmdline.c
parentd425a4cd3dded853aaefbca8873c95845933d383 (diff)
downloadsamba-57341c0f29911d09e511c840386a35290febb9f9.tar.gz
samba-57341c0f29911d09e511c840386a35290febb9f9.tar.bz2
samba-57341c0f29911d09e511c840386a35290febb9f9.zip
Revert "ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function"
This reverts commit 40a4aea8918c2637703af03383f440d068820e48. Autocommit is important, as otherwise an ldb module could error out during an operation, and leave an corrupt database. Andrew Bartlett
Diffstat (limited to 'lib/ldb/tools/cmdline.c')
-rw-r--r--lib/ldb/tools/cmdline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ldb/tools/cmdline.c b/lib/ldb/tools/cmdline.c
index ff3c1cd41f..a06445fc0f 100644
--- a/lib/ldb/tools/cmdline.c
+++ b/lib/ldb/tools/cmdline.c
@@ -59,7 +59,6 @@ static struct poptOption builtin_popt_options[] = {
{ "relax", 0, POPT_ARG_NONE, NULL, CMDLINE_RELAX, "pass relax control", NULL },
{ "cross-ncs", 0, POPT_ARG_NONE, NULL, 'N', "search across NC boundaries", NULL },
{ "extended-dn", 0, POPT_ARG_NONE, NULL, 'E', "show extended DNs", NULL },
- { "noautocommit", 0, POPT_ARG_NONE, &options.noautocommit, 1, "do not commit after each ldif message", NULL },
{ NULL }
};