From 252de185741d77185e1b3c41285070fcd32fcf22 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Tue, 16 Oct 2012 12:37:29 -0600 Subject: [PATCH] Remove sys.sql handling from start-sandbox and rename sys.sql to innodb_stats.sql. --- sandbox/servers/5.6/{sys.sql => innodb_stats.sql} | 0 sandbox/start-sandbox | 8 -------- 2 files changed, 8 deletions(-) rename sandbox/servers/5.6/{sys.sql => innodb_stats.sql} (100%) diff --git a/sandbox/servers/5.6/sys.sql b/sandbox/servers/5.6/innodb_stats.sql similarity index 100% rename from sandbox/servers/5.6/sys.sql rename to sandbox/servers/5.6/innodb_stats.sql diff --git a/sandbox/start-sandbox b/sandbox/start-sandbox index bc19d165..6818cf35 100755 --- a/sandbox/start-sandbox +++ b/sandbox/start-sandbox @@ -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"