summaryrefslogtreecommitdiff
path: root/mysys/my_winthread.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-10-14 03:16:35 +0300
committermonty@donna.mysql.com <>2000-10-14 03:16:35 +0300
commit7ac13c89e62da94aab70d3e8e89d368cb7bc7e5c (patch)
tree1b0bc8c3909ac0c3e49a7d72615c583c9a72254d /mysys/my_winthread.c
parent5134b08422d9e69228fe5f66a51f0e5f12c81e86 (diff)
downloadmariadb-git-7ac13c89e62da94aab70d3e8e89d368cb7bc7e5c.tar.gz
Fix of LEFT JOIN optimizer bug, problem with key cache on Windows and
a lot of portability issues.
Diffstat (limited to 'mysys/my_winthread.c')
-rw-r--r--mysys/my_winthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_winthread.c b/mysys/my_winthread.c
index 6a99fa0bb02..2fe56a13baf 100644
--- a/mysys/my_winthread.c
+++ b/mysys/my_winthread.c
@@ -61,7 +61,7 @@ static pthread_handler_decl(pthread_start,param)
win_pthread_self=((struct pthread_map *) param)->pthreadself;
pthread_mutex_unlock(&THR_LOCK_thread);
free((char*) param); /* Free param from create */
- pthread_exit((*func)(func_param));
+ pthread_exit((void*) (*func)(func_param));
return 0; /* Safety */
}
@@ -103,7 +103,7 @@ int pthread_create(pthread_t *thread_id, pthread_attr_t *attr,
}
-void pthread_exit(unsigned A)
+void pthread_exit(void *a)
{
_endthread();
}