Fix skip_innodb.t tests.

This commit is contained in:
Daniel Nichter
2013-02-19 07:53:19 -07:00
parent 3f8e1a4ea6
commit 7621d2c4ce
2 changed files with 8 additions and 8 deletions

View File

@@ -19,13 +19,13 @@ if ( $sandbox_version ge '5.6' ) {
plan skip_all => 'Cannot disable InnoDB in MySQL 5.6';
}
diag(`$trunk/sandbox/stop-sandbox 12348 >/dev/null`);
diag(`SKIP_INNODB=1 $trunk/sandbox/start-sandbox master 12348 >/dev/null`);
my $dp = new DSNParser(opts=>$dsn_opts);
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $master_dbh = $sb->get_dbh_for('master1');
diag(`$trunk/sandbox/stop-sandbox 12348 >/dev/null`);
diag(`SKIP_INNODB=1 $trunk/sandbox/start-sandbox master 12348 >/dev/null`);
if ( !$master_dbh ) {
plan skip_all => 'Cannot connect to sandbox master 12348';
}