diff options
author | unknown <monty@donna.mysql.com> | 2000-10-17 16:19:24 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-10-17 16:19:24 +0300 |
commit | 2ad8320b97ec7e4068a02e91169f4851e9d3f10f (patch) | |
tree | 27d0e6155df4adf8bc2ba4032977ecad637026a2 /myisam/mi_page.c | |
parent | 08bb74b631c5b405b0a6cad155f6abc06a5fbf51 (diff) | |
download | mariadb-git-2ad8320b97ec7e4068a02e91169f4851e9d3f10f.tar.gz |
Fixes for automatic recover of MyISAM tables
Docs/manual.texi:
Update of automatic recover of MyISAM tables
myisam/mi_check.c:
Let the repair function rename files; This made the rest of the recover code simpler.
myisam/mi_page.c:
More debug information
myisam/myisamchk.c:
Addapt to new mi_check code; Fixed bug when a recover on RAID tables where aborted.
mysys/my_winthread.c:
Portability fix
sql/ha_myisam.cc:
Fix for automatic recover
sql/sql_table.cc:
Close all instances of table before running recover / optimize
Diffstat (limited to 'myisam/mi_page.c')
-rw-r--r-- | myisam/mi_page.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/mi_page.c b/myisam/mi_page.c index bc0394aedca..f8e2a977754 100644 --- a/myisam/mi_page.c +++ b/myisam/mi_page.c @@ -99,6 +99,7 @@ int _mi_dispose(register MI_INFO *info, MI_KEYDEF *keyinfo, my_off_t pos) my_off_t old_link; char buff[8]; DBUG_ENTER("_mi_dispose"); + DBUG_PRINT("enter",("pos: %ld", (long) pos)); old_link=info->s->state.key_del[keyinfo->block_size]; info->s->state.key_del[keyinfo->block_size]=pos; @@ -141,6 +142,6 @@ my_off_t _mi_new(register MI_INFO *info, MI_KEYDEF *keyinfo) info->s->state.key_del[keyinfo->block_size]=mi_sizekorr(buff); } info->s->state.changed|= STATE_NOT_SORTED_PAGES; - DBUG_PRINT("exit",("Pos: %d",pos)); + DBUG_PRINT("exit",("Pos: %ld",(long) pos)); DBUG_RETURN(pos); } /* _mi_new */ |