Skip to content
Snippets Groups Projects
Unverified Commit 9425724e authored by totten's avatar totten Committed by GitHub
Browse files

Merge pull request #20513 from demeritcowboy/regen-better

#1549 - Malleate civicrm_generated so that long lines are split
parents cdef01c0 57ff183e
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,9 @@ $MYSQLDUMP -cent --skip-triggers $DBNAME $TABLENAMES > civicrm_generated.mysql
cat civicrm_sample_custom_data.mysql >> civicrm_generated.mysql
#cat civicrm_devel_config.mysql >> civicrm_generated.mysql
cat civicrm_dummy_processor.mysql >> civicrm_generated.mysql
# adapted from https://bugs.mysql.com/bug.php?id=65465
sed -i -e 's/VALUES (/VALUES\n (/g' civicrm_generated.mysql
sed -i -e 's/),(\|), (/),\n (/g' civicrm_generated.mysql
$MYSQLADMCMD -f drop $DBNAME
$MYSQLADMCMD create $DBNAME
$MYSQLCMD < civicrm.mysql
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment