diff options
author | unknown <marko@hundin.mysql.fi> | 2004-09-07 16:26:38 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-09-07 16:26:38 +0300 |
commit | 13f8420a1c928e270865f111857c5b7bed3fdbf4 (patch) | |
tree | aa416511899bafb5230a09583a3a23b2eb7b101f /innobase/srv | |
parent | 5f8f320c0a3d631a218f593c674547490d2a0342 (diff) | |
download | mariadb-git-13f8420a1c928e270865f111857c5b7bed3fdbf4.tar.gz |
InnoDB: Add configuration option innodb_autoextend_increment
innobase/include/srv0srv.h:
Add srv_auto_extend_increment and make SRV_AUTO_EXTEND_INCREMENT
configureable by it
innobase/srv/srv0srv.c:
Add srv_auto_extend_increment
sql/ha_innodb.cc:
Add innobase_auto_extend_increment and srv_auto_extend_increment
sql/ha_innodb.h:
Add innobase_auto_extend_increment
sql/mysqld.cc:
Add "innodb_autoextend_increment" configuration option
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 389cd5b779d..9b96d610f28 100644 --- a/innobase/srv/srv0srv.c +++ b/innobase/srv/srv0srv.c @@ -92,6 +92,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 |