diff options
author | unknown <monty@donna.mysql.com> | 2001-01-16 15:02:25 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-01-16 15:02:25 +0200 |
commit | 86b58e29471cfba2d5f7f3f7adfb6e448cc0018f (patch) | |
tree | f2d56706f932b8495846a884f7a9aa8bbbab0e3f /myisam/mi_info.c | |
parent | 64289e22b6e234a9888869264d01160d241e0548 (diff) | |
download | mariadb-git-86b58e29471cfba2d5f7f3f7adfb6e448cc0018f.tar.gz |
Fixed bug in CHECK TABLE ... EXTENDED
Added keyword MEDIUM to CHECK TABLE
New benchmarks results for Linux-alpha
BitKeeper/deleted/.del-READ-ME~ed6c5184d4bf6b7c:
Delete: strings/READ-ME
BitKeeper/deleted/.del-ATIS-mysql-Linux_2.2.13_SMP_alpha~21ddf9425cbdd58:
Delete: sql-bench/Results/ATIS-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-RUN-mysql-Linux_2.2.13_SMP_alpha~583091e05a25fb6:
Delete: sql-bench/Results/RUN-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-alter-table-mysql-Linux_2.2.13_SMP_alpha~6c20c9ef46f82241:
Delete: sql-bench/Results/alter-table-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-big-tables-mysql-Linux_2.2.13_SMP_alpha~e8cc899bb933532f:
Delete: sql-bench/Results/big-tables-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-connect-mysql-Linux_2.2.13_SMP_alpha~84df7c6446e51e26:
Delete: sql-bench/Results/connect-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-create-mysql-Linux_2.2.13_SMP_alpha~2c9af91e9771f618:
Delete: sql-bench/Results/create-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-insert-mysql-Linux_2.2.13_SMP_alpha~688809eb8ea77b3d:
Delete: sql-bench/Results/insert-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-select-mysql-Linux_2.2.13_SMP_alpha~db59425a7f4aa93f:
Delete: sql-bench/Results/select-mysql-Linux_2.2.13_SMP_alpha
BitKeeper/deleted/.del-wisconsin-mysql-Linux_2.2.13_SMP_alpha~fc410754151d622c:
Delete: sql-bench/Results/wisconsin-mysql-Linux_2.2.13_SMP_alpha
Docs/manual.texi:
Updated ChangeLog
myisam/mi_close.c:
Force write of crashed flag on close
myisam/mi_info.c:
Fixed that mean_reclength works for big files
mysql-test/r/show_check.result:
Added test of CHECK TABLE ... MEDIUM
mysql-test/t/show_check.test:
Added test of CHECK TABLE ... MEDIUM
sql/ha_myisam.cc:
Fixed that CHECK TABLE .. EXTENDED works properly
Cleared the CRASHED flag on repair
sql/lex.h:
Added keyword MEDIUM
sql/sql_yacc.yy:
Added CHECK TABLE .. MEDIUM
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) { |