summaryrefslogtreecommitdiff
path: root/myisam/mi_info.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-16 15:02:25 +0200
committermonty@donna.mysql.com <>2001-01-16 15:02:25 +0200
commit3ca140edb319385819f8cbf5caf904f54c359172 (patch)
treef2d56706f932b8495846a884f7a9aa8bbbab0e3f /myisam/mi_info.c
parent513490e70cb9d01e558aa00819bbc278676685de (diff)
downloadmariadb-git-3ca140edb319385819f8cbf5caf904f54c359172.tar.gz
Fixed bug in CHECK TABLE ... EXTENDED
Added keyword MEDIUM to CHECK TABLE New benchmarks results for Linux-alpha
Diffstat (limited to 'myisam/mi_info.c')
-rw-r--r--myisam/mi_info.c4
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)
{