summaryrefslogtreecommitdiff
path: root/myisam/myisamchk.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-15 05:03:16 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-15 05:03:16 +0300
commit9f6d38947014d8d4e86cb60ba43646a7e27c534f (patch)
tree0a48862a203ff86b220f440e0615fbeeec1db3a5 /myisam/myisamchk.c
parent6612decff32184191831c87c29da2fb2b7b90f46 (diff)
downloadmariadb-git-9f6d38947014d8d4e86cb60ba43646a7e27c534f.tar.gz
Cleanups
BitKeeper/etc/ignore: added vio/test-ssl Docs/manual.texi: Cleanup isam/isamchk.c: Cleanup myisam/mi_check.c: Cleanup myisam/myisamchk.c: Cleanup myisam/myisamdef.h: Cleanup sql/log_event.cc: Cleanup sql/mysqld.cc: Cleanup
Diffstat (limited to 'myisam/myisamchk.c')
-rw-r--r--myisam/myisamchk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index 6f782b2f80f..319539b44d4 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -778,7 +778,7 @@ static int myisamchk(MI_CHECK *param, my_string filename)
!(param->testflag & (T_FAST | T_FORCE_CREATE)))
{
if (param->testflag & (T_EXTEND | T_MEDIUM))
- VOID(init_key_cache(param->use_buffers,(uint) NEAD_MEM));
+ VOID(init_key_cache(param->use_buffers,(uint) NEED_MEM));
VOID(init_io_cache(&param->read_cache,datafile,
(uint) param->read_buffer_length,
READ_CACHE,
@@ -1185,7 +1185,7 @@ static int mi_sort_records(MI_CHECK *param,
if (share->state.key_root[sort_key] == HA_OFFSET_ERROR)
DBUG_RETURN(0); /* Nothing to do */
- init_key_cache(param->use_buffers,NEAD_MEM);
+ init_key_cache(param->use_buffers,NEED_MEM);
if (init_io_cache(&info->rec_cache,-1,(uint) param->write_buffer_length,
WRITE_CACHE,share->pack.header_length,1,
MYF(MY_WME | MY_WAIT_IF_FULL)))