List:Commits« Previous MessageNext Message »
From:tomas Date:June 19 2007 1:56pm
Subject:bk commit into 5.0 tree (tomas:1.2510) BUG#29185
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas 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, 2007-06-19 13:56:02+02:00, tomas@stripped +1 -0
  Bug #29185 Large IN list crashes mysqld with cluster and condition pushdown

  sql/ha_ndbcluster_cond.h@stripped, 2007-06-19 13:56:00+02:00, tomas@stripped
+1 -5
    Bug #29185 Large IN list crashes mysqld with cluster and condition pushdown

# 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:	tomas
# Host:	whalegate.ndb.mysql.com
# Root:	/home/tomas/mysql-5.0-ndb

--- 1.3/sql/ha_ndbcluster_cond.h	2007-06-19 12:14:00 +02:00
+++ 1.4/sql/ha_ndbcluster_cond.h	2007-06-19 13:56:00 +02:00
@@ -265,16 +265,12 @@
       Note - doing it recursively causes stack issues for
       big IN clauses
     */
-    if (prev != NULL)
-    {
-      next= prev= NULL;
-      return;
-    }
     Ndb_cond *n= next;
     while (n)
     {
       Ndb_cond *tmp= n;
       n= n->next;
+      tmp->next= NULL;
       delete tmp;
     }
     next= prev= NULL; 
Thread
bk commit into 5.0 tree (tomas:1.2510) BUG#29185tomas19 Jun