summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <dellis@goetia.(none)>2004-10-17 18:44:51 -0500
committerunknown <dellis@goetia.(none)>2004-10-17 18:44:51 -0500
commit03a67b2549c1ad9b531181909aa1a46f15c3ca57 (patch)
treec9152c984dcd51bbf8dfcf3d5d8a3e8ab38aaf25
parent9f4b6e20af0b770896c989c0c69325f85a2bb891 (diff)
downloadmariadb-git-03a67b2549c1ad9b531181909aa1a46f15c3ca57.tar.gz
mysqld.cc:
BUG #5731 key_buffer_size not properly restricted to 4GB; use UINT_MAX32 for clarity. sql/mysqld.cc: BUG #5731 key_buffer_size not properly restricted to 4GB; use UINT_MAX32 for clarity.
-rw-r--r--sql/mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index c256c335399..ff867b010b0 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -4144,7 +4144,7 @@ replicating a LOAD DATA INFILE command",
{"key_buffer_size", OPT_KEY_BUFFER_SIZE,
"The size of the buffer used for index blocks. Increase this to get better index handling (for all reads and multiple writes) to as much as you can afford; 64M on a 256M machine that mainly runs MySQL is quite common.",
(gptr*) &keybuff_size, (gptr*) &keybuff_size, 0, GET_ULL,
- REQUIRED_ARG, KEY_CACHE_SIZE, MALLOC_OVERHEAD, (uint32) ~0, MALLOC_OVERHEAD,
+ REQUIRED_ARG, KEY_CACHE_SIZE, MALLOC_OVERHEAD, UINT_MAX32, MALLOC_OVERHEAD,
IO_SIZE, 0},
{"long_query_time", OPT_LONG_QUERY_TIME,
"Log all queries that have taken more than long_query_time seconds to execute to file.",