Remove sys.sql handling from start-sandbox and rename sys.sql to innodb_stats.sql.

This commit is contained in:
Daniel Nichter
2012-10-16 12:37:29 -06:00
parent 136b1e305e
commit 252de18574
2 changed files with 0 additions and 8 deletions

View File

@@ -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"