summaryrefslogtreecommitdiff
path: root/sql-bench
diff options
context:
space:
mode:
authorRik Prohaska <prohaska7@gmail.com>2016-06-25 16:44:48 -0400
committerSergei Golubchik <serg@mariadb.org>2016-07-12 22:21:49 +0200
commit98b1bb0b8e7169030640378d25ad045a0ed1c8ed (patch)
treeab6e96c19562ffc79177e0c6784dbc8d6552a672 /sql-bench
parent8a8ba1949bf4bdc1dd6504d88d20cfa3ef2c0794 (diff)
downloadmariadb-git-98b1bb0b8e7169030640378d25ad045a0ed1c8ed.tar.gz
fix MDEV-7225. see https://jira.mariadb.org/browse/MDEV-72225 for details.
Diffstat (limited to 'sql-bench')
-rw-r--r--sql-bench/server-cfg.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql-bench/server-cfg.sh b/sql-bench/server-cfg.sh
index 892d301c70d..7e83b7365e3 100644
--- a/sql-bench/server-cfg.sh
+++ b/sql-bench/server-cfg.sh
@@ -204,6 +204,11 @@ sub new
$limits{'max_temporary_tables'}= $limits{"max_tables"};
$self->{'transactions'} = 1; # Transactions enabled
}
+ if (defined($main::opt_create_options) &&
+ $main::opt_create_options =~ /engine=tokudb/i)
+ {
+ $self->{'transactions'} = 1; # Transactions enabled
+ }
return $self;
}