summaryrefslogtreecommitdiff
path: root/sql-bench/test-wisconsin.sh
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-11-24 01:51:18 +0200
committermonty@donna.mysql.com <>2000-11-24 01:51:18 +0200
commit81bc313e99ed12ff87ca45529a11ab31acc28263 (patch)
treef7a94e9f7992838a96724db08a38f94bd9d50e27 /sql-bench/test-wisconsin.sh
parentc62554025dad1f70cf5335233864b390cf5de95e (diff)
downloadmariadb-git-81bc313e99ed12ff87ca45529a11ab31acc28263.tar.gz
All statements are now run in a sub transaction
Give warning if we are using non transactional tables and do ROLLBACK Porting of crash-me and benchmarks to FrontBase
Diffstat (limited to 'sql-bench/test-wisconsin.sh')
-rwxr-xr-xsql-bench/test-wisconsin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-bench/test-wisconsin.sh b/sql-bench/test-wisconsin.sh
index f54e5ef5a75..a017120259e 100755
--- a/sql-bench/test-wisconsin.sh
+++ b/sql-bench/test-wisconsin.sh
@@ -57,7 +57,7 @@ if (!$opt_skip_create)
my $array_ref = $tables[$ti];
# This may fail if we have no table so do not check answer
- $sth = $dbh->do("drop table $table_name");
+ $sth = $dbh->do("drop table $table_name" . $server->{'drop_attr'});
print "Creating table $table_name\n" if ($opt_verbose);
do_many($dbh,@$array_ref);
}
@@ -201,7 +201,7 @@ if (!$opt_skip_delete)
for ($ti = 0; $ti <= $#table_names; $ti++)
{
my $table_name = $table_names[$ti];
- $sth = $dbh->do("drop table $table_name");
+ $sth = $dbh->do("drop table $table_name" . $server->{'drop_attr'});
}
}