summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-12-05 16:38:49 +0200
committermonty@mashka.mysql.fi <>2002-12-05 16:38:49 +0200
commit7d681c444992f091fced52536fc960e546bd54b6 (patch)
treee7064c81623ddc900c1933e03b9ce1c1fe234ff6 /sql/handler.cc
parent2435dce96d5fbb4e6b34cc976f0301666a3793d2 (diff)
downloadmariadb-git-7d681c444992f091fced52536fc960e546bd54b6.tar.gz
Copy arguments given to mysql_server_init()
Made keybuff_size longlong (To make show variables work similar on 32 and 64 bit systems) Fixed some 'not initalized variable errors' in multi-table-update. Fixed memory leak in multi-table-update. Now all tests works under valgrind without any errors.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index c4e742ef519..d4fd45613d4 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -883,13 +883,13 @@ int ha_create_table(const char *name, HA_CREATE_INFO *create_info,
void ha_key_cache(void)
{
if (keybuff_size)
- (void) init_key_cache(keybuff_size);
+ (void) init_key_cache((ulong) keybuff_size);
}
void ha_resize_key_cache(void)
{
- (void) resize_key_cache(keybuff_size);
+ (void) resize_key_cache((ulong) keybuff_size);
}