diff options
author | monty@hundin.mysql.fi <> | 2001-12-17 03:02:58 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-17 03:02:58 +0200 |
commit | 4dbd9e061c35d79e96079b05408dd584c09f2c15 (patch) | |
tree | 941257314e6e021bd649a4b42156be700895e6a0 /sql-bench | |
parent | fc3e066f36e3b084674cbb9f3febb67e0ddbbc09 (diff) | |
download | mariadb-git-4dbd9e061c35d79e96079b05408dd584c09f2c15.tar.gz |
Lots of portability fixes.
Fixed shutdown on HPUX.
Fixed bug in query cache.
Diffstat (limited to 'sql-bench')
-rw-r--r-- | sql-bench/test-alter-table.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-bench/test-alter-table.sh b/sql-bench/test-alter-table.sh index af0f630d938..cc6453188de 100644 --- a/sql-bench/test-alter-table.sh +++ b/sql-bench/test-alter-table.sh @@ -75,7 +75,7 @@ print "Insert data into the table\n"; $loop_time=new Benchmark; -if ($opt_fast && defined($server->{transactions})) +if ($opt_fast && $server->{transactions}) { $dbh->{AutoCommit} = 0; print "Transactions enabled\n" if ($opt_debug); @@ -87,7 +87,7 @@ for ($i=0 ; $i < $opt_row_count ; $i++) $dbh->do($query) or die $DBI::errstr; } -if ($opt_fast && defined($server->{transactions})) +if ($opt_fast && $server->{transactions}) { $dbh->commit; $dbh->{AutoCommit} = 1; |