MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:ingo Date:May 16 2007 6:00pm
Subject:bk commit into 5.0 tree (istruewing:1.2465) BUG#23068
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of istruewing. When istruewing does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-05-16 20:00:23+02:00, istruewing@stripped +1 -0
  Bug#23068 - key_cache_block_size is not set or displayes correctly
  
  Command line and configuration file option 'key_cache_block_size'
  was reduced by MALLOC_OVERHEAD (8 in a production server, 36 in a
  debug server) from the user supplied value and restricted it to
  the greatest multiple of 512 less or equal to the reduced value.
  
  This patch changes option 'key_cache_block_size' to not deduce
  MALLOC_OVERHEAD from the input value. However, the restriction
  to a multiple of 512 is still done.

  sql/mysqld.cc@stripped, 2007-05-16 20:00:20+02:00, istruewing@stripped +1 -1
    Bug#23068 - key_cache_block_size is not set or displayes correctly
    Changed option 'key_cache_block_size' to not deduce
    MALLOC_OVERHEAD from the input value.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	istruewing
# Host:	chilla.local
# Root:	/home/mydev/mysql-5.0-bug23068

--- 1.607/sql/mysqld.cc	2007-05-16 20:00:30 +02:00
+++ 1.608/sql/mysqld.cc	2007-05-16 20:00:30 +02:00
@@ -5806,7 +5806,7 @@ log and this option does nothing anymore
    (gptr*) &dflt_key_cache_var.param_block_size,
    (gptr*) 0,
    0, (GET_ULONG | GET_ASK_ADDR), REQUIRED_ARG,
-   KEY_CACHE_BLOCK_SIZE , 512, 1024*16, MALLOC_OVERHEAD, 512, 0},
+   KEY_CACHE_BLOCK_SIZE, 512, 1024 * 16, 0, 512, 0},
   {"key_cache_division_limit", OPT_KEY_CACHE_DIVISION_LIMIT,
    "The minimum percentage of warm blocks in key cache",
    (gptr*) &dflt_key_cache_var.param_division_limit,
Thread
bk commit into 5.0 tree (istruewing:1.2465) BUG#23068ingo16 May