List:Commits« Previous MessageNext Message »
From:holyfoot Date:October 24 2006 7:35am
Subject:bk commit into 4.1 tree (holyfoot:1.2536)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of hf. When hf 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, 2006-10-24 12:35:32+05:00, holyfoot@stripped +1 -0
  merging fix

  client/mysqltest.c@stripped, 2006-10-24 12:35:30+05:00, holyfoot@stripped +2 -2
    wrong 'while' was added instead of 'if'

# 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:	holyfoot
# Host:	deer.(none)
# Root:	/home/hf/work/w3475/my41-w3475

--- 1.196/client/mysqltest.c	2006-10-24 12:35:36 +05:00
+++ 1.197/client/mysqltest.c	2006-10-24 12:35:36 +05:00
@@ -1907,7 +1907,7 @@ int close_connection(struct st_query *q)
 #ifndef EMBEDDED_LIBRARY
       if (q->type == Q_DIRTY_CLOSE)
       {
-	while (con->mysql.net.vio)
+	if (con->mysql.net.vio)
 	{
 	  vio_delete(con->mysql.net.vio);
 	  con->mysql.net.vio = 0;
@@ -2908,7 +2908,7 @@ static int run_query_normal(struct conne
   else if (flags & QUERY_REAP)
   {
     pthread_mutex_lock(&cn->mutex);
-    if (!cn->query_done)
+    while (!cn->query_done)
       pthread_cond_wait(&cn->cond, &cn->mutex);
     pthread_mutex_unlock(&cn->mutex);
   }
Thread
bk commit into 4.1 tree (holyfoot:1.2536)holyfoot24 Oct