11-29-2021, 03:34 AM,
(This post was last modified: 11-29-2021, 05:24 AM by TurboPT.)
|
|
TurboPT
Administrator
      
|
Posts: 727
Threads: 10
Joined: Jun 2012
|
|
RE: Pending 4.15.2 release
Tim, in the make_release file, since you fixed the demo.sql file, it looks like this file is removed, before the contents are re-written as a new file?
Code: 129 mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --skip-set-charset --quick --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --no-create-info weberpdemo > $BASE_DIR/sql/mysql/country_sql/weberp-demo_data.sql
130
131 rm $BASE_DIR/sql/mysql/country_sql/demo.sql
132 echo "CREATE DATABASE IF NOT EXISTS weberpdemo;" > $BASE_DIR/sql/mysql/country_sql/demo.sql
133 echo "USE weberpdemo;" >> $BASE_DIR/sql/mysql/country_sql/demo.sql
134
135 cat $BASE_DIR/sql/mysql/country_sql/default.sql >> $BASE_DIR/sql/mysql/country_sql/demo.sql
136
137 cat $BASE_DIR/sql/mysql/country_sql/weberp-base.sql >> $BASE_DIR/sql/mysql/country_sql/default.sql
138 cat $BASE_DIR/sql/mysql/country_sql/weberp-demo_data.sql >> $BASE_DIR/sql/mysql/country_sql/demo.sql
139 rm $BASE_DIR/sql/mysql/country_sql/weberp-demo_data.sql
140 rm $BASE_DIR/sql/mysql/country_sql/weberp-base.sql
Is line 131 suspect ... unless I'm missing something else? Though those lines have not changed for years, if this maybe was how the demo data was missing last time? That or, it's expected that the demo already has the data added, at least? I'll double check this last part before the run.
|
|
|