List:Maria Storage Engine« Previous MessageNext Message »
From:sanja Date:April 21 2008 2:43pm
Subject:bk commit into maria tree (bell:1.2636)
View as plain text  
Below is the list of changes that have just been committed into a local
maria repository of bell.  When bell 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
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-21 17:43:38+03:00, bell@stripped +1 -0
  Debug code fixed.

  mysys/wqueue.c@stripped, 2008-04-21 17:43:36+03:00, bell@stripped +3 -6
    Debug code fixed.

diff -Nrup a/mysys/wqueue.c b/mysys/wqueue.c
--- a/mysys/wqueue.c	2008-04-21 17:14:55 +03:00
+++ b/mysys/wqueue.c	2008-04-21 17:43:36 +03:00
@@ -67,6 +67,9 @@ void wqueue_add_to_queue(WQUEUE *wqueue,
     thread->next= last->next;
     last->next= thread;
   }
+#ifndef DBUG_OFF
+  thread->prev= NULL; /* force segfault if used */
+#endif
   wqueue->last_thread= thread;
 }
 
@@ -156,9 +159,6 @@ void wqueue_release_one_locktype_from_qu
   {
     /* release first waiting for write lock */
     pthread_cond_signal(&next->suspend);
-#ifndef DBUG_OFF
-    next->prev= NULL; /* force segfault if used */
-#endif
     if (next == last)
       wqueue->last_thread= NULL;
     else
@@ -170,9 +170,6 @@ void wqueue_release_one_locktype_from_qu
   {
     thread= next;
     next= thread->next;
-#ifndef DBUG_OFF
-    thread->prev= NULL; /* force segfault if used */
-#endif
     if (thread->lock_type == MY_PTHREAD_LOCK_WRITE)
     {
       /* skip waiting for write lock */
Thread
bk commit into maria tree (bell:1.2636)sanja21 Apr