mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user