Commit 2287edde authored by Sebastien Robin's avatar Sebastien Robin

- revert commit 25467, a more "readable" dump is more than 10 times

  slower to import than an optimised one, it can takes several minutes
  instead of a few seconds


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27008 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d4b2e1b4
......@@ -777,7 +777,10 @@ class ERP5TypeTestCase(PortalTestCase):
transaction.commit()
ZopeTestCase.close(app)
instance_home = os.environ['INSTANCE_HOME']
command = 'mysqldump --skip-extended-insert %s > %s/dump.sql' \
# The output of mysqldump needs to merge many lines at a time
# for performance reasons (merging lines is at most 10 times
# faster, so this produce somewhat not nice to read sql
command = 'mysqldump %s > %s/dump.sql' \
% (getMySQLArguments(), instance_home)
if not quiet:
ZopeTestCase._print('Dumping MySQL database with %s... ' \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment