summaryrefslogtreecommitdiff
path: root/support-files/my-medium.cnf.sh
diff options
context:
space:
mode:
authorDaniel Fischer <df@sun.com>2009-03-31 11:54:48 +0200
committerDaniel Fischer <df@sun.com>2009-03-31 11:54:48 +0200
commitc07354b5dcddabc7a493af00acc24b9ac237638d (patch)
tree7cc56dd25a0f264c63ac2e8047ad9b550637237c /support-files/my-medium.cnf.sh
parent510e9ddf36df94421f20e760225d69304f7a35f3 (diff)
downloadmariadb-git-c07354b5dcddabc7a493af00acc24b9ac237638d.tar.gz
Bug#34521, removed a bunch of deprecated options from template my.cnf files:
- Removed entire isamchk section. Support for ISAM tables was removed in 5.0. - Replaced key_buffer with key_buffer_size (correct spelling). - Removed skip-bdb, as BDB is no longer included in 5.0 and above. - Removed commented-out bdb_cache_size and bdb_max_lock for the same reason. - Removed commented-out innodb_log_arch_dir, deprecated in 5.0.24. - Removed myisam_max_extra_sort_file_size, deprecated in 5.0.6. - Removed log_long_format, deprecated in 4.1. - Replaced default_table_type with default-storage-engine.
Diffstat (limited to 'support-files/my-medium.cnf.sh')
-rw-r--r--support-files/my-medium.cnf.sh15
1 files changed, 2 insertions, 13 deletions
diff --git a/support-files/my-medium.cnf.sh b/support-files/my-medium.cnf.sh
index c3135ea2c2b..e299add99d7 100644
--- a/support-files/my-medium.cnf.sh
+++ b/support-files/my-medium.cnf.sh
@@ -27,7 +27,7 @@ socket = @MYSQL_UNIX_ADDR@
port = @MYSQL_TCP_PORT@
socket = @MYSQL_UNIX_ADDR@
skip-locking
-key_buffer = 16M
+key_buffer_size = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
@@ -115,15 +115,10 @@ server-id = 1
#tmpdir = /tmp/
#log-update = /path-to-dedicated-directory/hostname
-# Uncomment the following if you are using BDB tables
-#bdb_cache_size = 4M
-#bdb_max_lock = 10000
-
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = @localstatedir@/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/
-#innodb_log_arch_dir = @localstatedir@/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
@@ -143,14 +138,8 @@ no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
-[isamchk]
-key_buffer = 20M
-sort_buffer_size = 20M
-read_buffer = 2M
-write_buffer = 2M
-
[myisamchk]
-key_buffer = 20M
+key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M