summaryrefslogtreecommitdiff
path: root/sql-bench
diff options
context:
space:
mode:
Diffstat (limited to 'sql-bench')
-rw-r--r--sql-bench/server-cfg.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql-bench/server-cfg.sh b/sql-bench/server-cfg.sh
index 905e7ee65be..1f5ba707f05 100644
--- a/sql-bench/server-cfg.sh
+++ b/sql-bench/server-cfg.sh
@@ -184,6 +184,14 @@ sub new
$self->{'transactions'} = 1; # Transactions enabled
}
if (defined($main::opt_create_options) &&
+ $main::opt_create_options =~ /type=ndb/i)
+ {
+ $self->{'transactions'} = 1; # Transactions enabled
+ $limits{'max_columns'} = 90; # Max number of columns in table
+ $limits{'max_tables'} = 32; # No comments
+ $limits{'working_blobs'} = 0; # NDB tables can't handle BLOB's
+ }
+ if (defined($main::opt_create_options) &&
$main::opt_create_options =~ /type=bdb/i)
{
$self->{'transactions'} = 1; # Transactions enabled