MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Joerg Bruehe Date:March 9 2006 5:13pm
Subject:bk commit into 5.0 tree (joerg:1.2051) BUG#15861
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of joerg. When joerg does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository

  1.2051 06/03/09 18:13:24 joerg@stripped +1 -0
  Fix for bug#15861: Include the system header file "pthread.h" even in a non-threaded build.

    1.7 06/03/09 18:13:19 joerg@stripped +2 -0
    Even in a non-threaded build, some modules (at least "mysys/mf_keycache.c") 
    need some type definitions provided by the system header file "pthread.h".
    Rather than add complications to the code, include the header.
    Fixes bug#15861

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	joerg
# Host:	trift2.
# Root:	/M50/bug-15861-5.0

--- 1.6/include/my_no_pthread.h	2003-11-18 12:47:17 +01:00
+++ 1.7/include/my_no_pthread.h	2006-03-09 18:13:19 +01:00
@@ -23,6 +23,8 @@
 #if !defined(_my_no_pthread_h) && !defined(THREAD)
 #define _my_no_pthread_h
+#include <pthread.h>  /* some types are needed even in unthreaded builds */
 #define pthread_mutex_init(A,B)
 #define pthread_mutex_lock(A)
 #define pthread_mutex_unlock(A)
bk commit into 5.0 tree (joerg:1.2051) BUG#15861Joerg Bruehe9 Mar