1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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:
unknown
2001-01-16 15:02:25 +02:00
parent 64289e22b6
commit 86b58e2947
26 changed files with 352 additions and 404 deletions

View File

@ -65,8 +65,13 @@ int mi_close(register MI_INFO *info)
share->temporary ? FLUSH_IGNORE_CHANGED :
FLUSH_RELEASE))
error=my_errno;
if (share->kfile >= 0 && my_close(share->kfile,MYF(0)))
error = my_errno;
if (share->kfile >= 0)
{
if (share->mode != O_RDONLY && mi_is_crashed(info))
mi_state_info_write(share->kfile, &share->state, 1);
if (my_close(share->kfile,MYF(0)))
error = my_errno;
}
#ifdef HAVE_MMAP
if (share->file_map)
_mi_unmap_file(info);