summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-10-17 16:19:24 +0300
committerunknown <monty@donna.mysql.com>2000-10-17 16:19:24 +0300
commit2ad8320b97ec7e4068a02e91169f4851e9d3f10f (patch)
tree27d0e6155df4adf8bc2ba4032977ecad637026a2 /mysys
parent08bb74b631c5b405b0a6cad155f6abc06a5fbf51 (diff)
downloadmariadb-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 'mysys')
-rw-r--r--mysys/my_winthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_winthread.c b/mysys/my_winthread.c
index 2fe56a13baf..a1fb2c76184 100644
--- a/mysys/my_winthread.c
+++ b/mysys/my_winthread.c
@@ -83,7 +83,7 @@ int pthread_create(pthread_t *thread_id, pthread_attr_t *attr,
attr->dwStackSize ? attr->dwStackSize :
65535, (void*) map);
#else
- hThread=(HANDLE)_beginthread(pthread_start,
+ hThread=(HANDLE)_beginthread((void( __cdecl *)(void *)) pthread_start,
attr->dwStackSize ? attr->dwStackSize :
65535, (void*) map);
#endif