From 656792ff5ce848558512167380833bfd256af65a Mon Sep 17 00:00:00 2001 From: eblade Date: Sat, 25 Jul 2009 13:00:54 -0400 Subject: [PATCH] make command line bulk import not drop indexes. --- pyfpdb/GuiBulkImport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfpdb/GuiBulkImport.py b/pyfpdb/GuiBulkImport.py index 77dee9b7..1178526e 100755 --- a/pyfpdb/GuiBulkImport.py +++ b/pyfpdb/GuiBulkImport.py @@ -252,7 +252,8 @@ def main(argv=None): else: #Do something useful importer = fpdb_import.Importer(False,settings, config) - importer.setDropIndexes("auto") + # importer.setDropIndexes("auto") + importer.setDropIndexes("don't drop") importer.setFailOnError(options.failOnError) importer.addBulkImportImportFileOrDir(os.path.expanduser(options.filename), site=options.filtername) importer.setCallHud(False)