1. 05 Dec, 2003 2 commits
    • hf@deer.(none)'s avatar
      Fix for #1890 and #1959 · 431a66e8
      hf@deer.(none) authored
      This bug happens under Windows & Embedded server
      Reason is that pthread_self() always returns NULL in this case.
      This confuses thr_lock function and it doesn't stop
      thread inserting in the write-locked table.
      
      Global problem is that there's no way under Windows to get
      unique thread handle for working thread.
      Monty made a workaround for server - we store the thread's handle
      we get when we create thread in the thread-specific variable.
      This doesn't work with the embedded library for we don't control
      thread creation there.
      
      I added code that sets CurrentThreadId as the pthread_self
      for the embedded library.
      It seems to solve problem because it's unique and we don't use
      pthread_self as a parameter for thread functions in embedded library. 
      431a66e8
    • konstantin@mysql.com's avatar
      b5bef295
  2. 04 Dec, 2003 14 commits
  3. 03 Dec, 2003 3 commits
  4. 02 Dec, 2003 8 commits
  5. 01 Dec, 2003 2 commits
  6. 28 Nov, 2003 7 commits
  7. 27 Nov, 2003 3 commits
  8. 26 Nov, 2003 1 commit