diff options
Diffstat (limited to 'isam')
-rw-r--r-- | isam/create.c | 4 | ||||
-rw-r--r-- | isam/isamchk.c | 6 | ||||
-rw-r--r-- | isam/pack_isam.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/isam/create.c b/isam/create.c index 1fc2f3b97be..4c23f3edd11 100644 --- a/isam/create.c +++ b/isam/create.c @@ -294,13 +294,13 @@ int nisam_create(const char *name,uint keys,N_KEYDEF *keyinfo, goto err; /* Enlarge files */ - if (my_chsize(file,(ulong) share.base.keystart,MYF(0))) + if (my_chsize(file, (ulong) share.base.keystart, 0, MYF(0))) goto err; if (! (flags & HA_DONT_TOUCH_DATA)) { #ifdef USE_RELOC - if (my_chsize(dfile,share.base.min_pack_length*reloc,MYF(0))) + if (my_chsize(dfile, share.base.min_pack_length*reloc, 0, MYF(0))) goto err; #endif errpos=1; diff --git a/isam/isamchk.c b/isam/isamchk.c index ea3055534ca..35b4e881962 100644 --- a/isam/isamchk.c +++ b/isam/isamchk.c @@ -1552,7 +1552,7 @@ my_string name; { VOID(fputs(" \r",stdout)); VOID(fflush(stdout)); } - if (my_chsize(share->kfile,share->state.key_file_length,MYF(0))) + if (my_chsize(share->kfile, share->state.key_file_length, 0, MYF(0))) { print_warning("Can't change size of indexfile, error: %d",my_errno); goto err; @@ -2514,10 +2514,10 @@ my_string name; skr=share->base.reloc*share->base.min_pack_length; #endif if (skr != sort_info.filelength) - if (my_chsize(info->dfile,skr,MYF(0))) + if (my_chsize(info->dfile, skr, 0, MYF(0))) print_warning("Can't change size of datafile, error: %d",my_errno); } - if (my_chsize(share->kfile,share->state.key_file_length,MYF(0))) + if (my_chsize(share->kfile, share->state.key_file_length, 0, MYF(0))) print_warning("Can't change size of indexfile, error: %d",my_errno); if (!(testflag & T_SILENT)) diff --git a/isam/pack_isam.c b/isam/pack_isam.c index ca2685d3278..08cae65ef2c 100644 --- a/isam/pack_isam.c +++ b/isam/pack_isam.c @@ -1959,7 +1959,7 @@ static void save_state(N_INFO *isam_file,MRG_INFO *mrg,my_off_t new_length, isam_file->update|=(HA_STATE_CHANGED | HA_STATE_ROW_CHANGED); isam_file->this_uniq=crc; /* Save crc here */ share->changed=1; /* Force write of header */ - VOID(my_chsize(share->kfile,share->state.key_file_length, + VOID(my_chsize(share->kfile, share->state.key_file_length, 0, MYF(0))); if (share->state.keys != share->base.keys) isamchk_neaded=1; |