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 | ad714c149b8e3c01d251a8698e0fd95aa7e89ae8 (patch) | |
tree | aa416511899bafb5230a09583a3a23b2eb7b101f /innobase/include/srv0srv.h | |
parent | 14213cdc4ec98677cf8abb089001615407058879 (diff) | |
download | mariadb-git-ad714c149b8e3c01d251a8698e0fd95aa7e89ae8.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/include/srv0srv.h')
-rw-r--r-- | innobase/include/srv0srv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/include/srv0srv.h b/innobase/include/srv0srv.h index 2e42c2f5036..a5508b23a5c 100644 --- a/innobase/include/srv0srv.h +++ b/innobase/include/srv0srv.h @@ -24,7 +24,8 @@ extern os_event_t srv_lock_timeout_thread_event; /* If the last data file is auto-extended, we add this many pages to it at a time */ -#define SRV_AUTO_EXTEND_INCREMENT (8 * ((1024 * 1024) / UNIV_PAGE_SIZE)) +#define SRV_AUTO_EXTEND_INCREMENT \ + (srv_auto_extend_increment * ((1024 * 1024) / UNIV_PAGE_SIZE)) /* This is set to TRUE if the MySQL user has set it in MySQL */ extern ibool srv_lower_case_table_names; @@ -51,6 +52,7 @@ extern ulint* srv_data_file_is_raw_partition; extern ibool srv_auto_extend_last_data_file; extern ulint srv_last_file_size_max; +extern ulint srv_auto_extend_increment; extern ibool srv_created_new_raw; |