mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Remove sys.sql handling from start-sandbox and rename sys.sql to innodb_stats.sql.
This commit is contained in:
@@ -34,10 +34,6 @@ make_sandbox() {
|
||||
cp $PERCONA_TOOLKIT_BRANCH/sandbox/servers/$version/my.sandbox.cnf /tmp/$port
|
||||
tar xzf $PERCONA_TOOLKIT_BRANCH/sandbox/servers/$version/data.tar.gz -C /tmp/$port
|
||||
|
||||
if [ -f $PERCONA_TOOLKIT_BRANCH/sandbox/servers/$version/sys.sql ]; then
|
||||
cp $PERCONA_TOOLKIT_BRANCH/sandbox/servers/$version/sys.sql /tmp/$port
|
||||
fi
|
||||
|
||||
for script in `ls $PERCONA_TOOLKIT_BRANCH/sandbox/servers/*`; do
|
||||
if [ -f $script ]; then
|
||||
cp $script /tmp/$port
|
||||
@@ -100,10 +96,6 @@ make_sandbox() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f "/tmp/$port/sys.sql" ]; then
|
||||
/tmp/$port/use < /tmp/$port/sys.sql
|
||||
fi
|
||||
|
||||
# If the sandbox is a slave, start the slave.
|
||||
if [ "$type" = "slave" ]; then
|
||||
/tmp/$port/use -e "change master to master_host='127.0.0.1', master_user='msandbox', master_password='msandbox', master_port=$master_port"
|
||||
|
Reference in New Issue
Block a user