diff options
Diffstat (limited to 'myisam/mi_info.c')
-rw-r--r-- | myisam/mi_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_info.c b/myisam/mi_info.c index 078ce4042e8..6e7abfc0914 100644 --- a/myisam/mi_info.c +++ b/myisam/mi_info.c @@ -59,8 +59,8 @@ int mi_status(MI_INFO *info, register MI_ISAMINFO *x, uint flag) x->keys = share->state.header.keys; x->check_time = share->state.check_time; x->mean_reclength = info->state->records ? - (ulong) (info->state->data_file_length-info->state->empty)/ - info->state->records : (ulong) share->min_pack_length; + (ulong) ((info->state->data_file_length-info->state->empty)/ + info->state->records) : (ulong) share->min_pack_length; } if (flag & HA_STATUS_ERRKEY) { |