Skip to content

Commit

Permalink
Merge pull request #20513 from demeritcowboy/regen-better
Browse files Browse the repository at this point in the history
dev/core#1549 - Malleate civicrm_generated so that long lines are split
  • Loading branch information
totten authored Jun 6, 2021
2 parents cdef01c + 57ff183 commit 9425724
Show file tree
Hide file tree
Showing 2 changed files with 10,900 additions and 104 deletions.
3 changes: 3 additions & 0 deletions bin/regen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11,001 changes: 10,897 additions & 104 deletions sql/civicrm_generated.mysql

Large diffs are not rendered by default.

0 comments on commit 9425724

Please sign in to comment.