diff options
author | unknown <knielsen@mysql.com> | 2006-01-30 13:09:08 +0100 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2006-01-30 13:09:08 +0100 |
commit | ab88a598cac2fab475f18bda52cf73a2c557ed52 (patch) | |
tree | 483aa2c9f0c81f19669e8d449a4092eee90127f9 /sql/event_executor.cc | |
parent | 6151b93dfae6f0961cb93e3dfb98e49f52188376 (diff) | |
download | mariadb-git-ab88a598cac2fab475f18bda52cf73a2c557ed52.tar.gz |
Windows compile fixes in preparation for 5.1.6 beta.
VC++Files/client/mysqldump.vcproj:
Add missing source file.
VC++Files/mysql.sln:
Fix configuration mismatch.
VC++Files/sql/mysqld.vcproj:
Enable row-based replication.
Add missing source files.
scripts/make_win_src_distribution.sh:
Add copying of missing directory.
sql/event.h:
Fix type conflict only visible on Windows.
sql/event_executor.cc:
Fix non-portable thread stuff.
sql/event_timed.cc:
Fix type conflict only visible on Windows.
sql/ha_archive.cc:
Add cast needed for Windows.
sql/handler.h:
Fix Windows byte * <-> char * mismatch.
sql/opt_range.cc:
Fix Windows byte * <-> char * mismatch.
sql/set_var.cc:
BUG#16811
Fix Windows compilation by making the cast-away of volatile implicit
(Windows linker does not like volatile <-> non-volatile mismatch, in
contrast to Unix)
sql/sql_partition.cc:
Fix Windows byte * <-> char * mismatch.
Diffstat (limited to 'sql/event_executor.cc')
-rw-r--r-- | sql/event_executor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/event_executor.cc b/sql/event_executor.cc index 4eb92f9e430..7a74a81e9fa 100644 --- a/sql/event_executor.cc +++ b/sql/event_executor.cc @@ -460,7 +460,7 @@ event_executor_worker(void *event_void) thd->thread_stack = (char*)&thd; // remember where our stack is thd->mem_root= &worker_mem_root; - pthread_detach(pthread_self()); + pthread_detach_this_thread(); if (init_event_thread(thd)) goto err; |