diff options
author | unknown <marko@hundin.mysql.fi> | 2005-01-25 16:27:13 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-01-25 16:27:13 +0200 |
commit | f35117ea34b679b0ac07593ab1cc7b14b7dc334b (patch) | |
tree | 887cf8acd7bc5a8438d844d8eae91e0aaaea9d01 /innobase/srv | |
parent | b7c59b9e2266f35dbaa60f8fd2ffa371bbfc46b6 (diff) | |
download | mariadb-git-f35117ea34b679b0ac07593ab1cc7b14b7dc334b.tar.gz |
InnoDB: Backport innodb_autoextend_increment from 4.1
innobase/include/srv0srv.h:
Add configuration variable srv_auto_extend_increment
innobase/srv/srv0srv.c:
Add configuration variable srv_auto_extend_increment
sql/ha_innodb.h:
Add configuration variable srv_auto_extend_increment
sql/mysqld.cc:
Add startup option innodb_autoextend_increment
sql/set_var.cc:
Add settable global variable innodb_autoextend_increment
Diffstat (limited to 'innobase/srv')
-rw-r--r-- | innobase/srv/srv0srv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c index d633c67cdf3..217a97d84a2 100644 --- a/innobase/srv/srv0srv.c +++ b/innobase/srv/srv0srv.c @@ -86,6 +86,9 @@ ulint srv_last_file_size_max = 0; /* if != 0, this tells the max size auto-extending may increase the last data file size */ +ulint srv_auto_extend_increment = 8; /* If the last data file is + auto-extended, we add this + many pages to it at a time */ ulint* srv_data_file_is_raw_partition = NULL; /* If the following is TRUE we do not allow inserts etc. This protects |