diff options
author | magnus@neptunus.(none) <> | 2004-04-30 10:08:44 +0200 |
---|---|---|
committer | magnus@neptunus.(none) <> | 2004-04-30 10:08:44 +0200 |
commit | ed6148da75c9f18fbfd5862076374977bbf4e16e (patch) | |
tree | 2c847ea04fc897a6c7de6b529ee90e8bcf885b9b /sql-bench/server-cfg.sh | |
parent | cfbabb0245d98b9d5673cfb90a19b2cc134a8343 (diff) | |
download | mariadb-git-ed6148da75c9f18fbfd5862076374977bbf4e16e.tar.gz |
Updated default NDB config to work better with sql-bench
Updated sql-bench configs to take NDB's limitations into account
Diffstat (limited to 'sql-bench/server-cfg.sh')
-rw-r--r-- | sql-bench/server-cfg.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql-bench/server-cfg.sh b/sql-bench/server-cfg.sh index 905e7ee65be..9d5df27379c 100644 --- a/sql-bench/server-cfg.sh +++ b/sql-bench/server-cfg.sh @@ -184,6 +184,13 @@ 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{'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 |