diff options
author | unknown <sergefp@mysql.com> | 2004-09-22 16:29:15 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-09-22 16:29:15 +0400 |
commit | 4063fd2c726a71ed0c9fd7052650f6f0feaaaac7 (patch) | |
tree | e64aeb7d8d84ed6afb7086e9cc18ee52ee1a75fe /myisam/mi_check.c | |
parent | 8bf8c8596873b534ad4a13eb73152c617c50c21b (diff) | |
download | mariadb-git-4063fd2c726a71ed0c9fd7052650f6f0feaaaac7.tar.gz |
Fix for BUG#4785:
* myisampack leaves key_file_length value from original table
* myisamchk uses this value when calculating key file pointer length
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r-- | myisam/mi_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index 078f7787dc3..e78d831fde7 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -3520,7 +3520,7 @@ int recreate_table(MI_CHECK *param, MI_INFO **org_info, char *filename) create_info.raid_chunksize= share.base.raid_chunksize; create_info.language = (param->language ? param->language : share.state.header.language); - + create_info.key_file_length= status_info.key_file_length; /* We don't have to handle symlinks here because we are using HA_DONT_TOUCH_DATA */ if (mi_create(filename, |