Commit f644f34e authored by unknown's avatar unknown

Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb

into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb


sql/ha_ndbcluster_cond.h:
  Auto merged
parents 7d74c33d 897d4dfb
...@@ -270,16 +270,12 @@ class Ndb_cond : public Sql_alloc ...@@ -270,16 +270,12 @@ class Ndb_cond : public Sql_alloc
Note - doing it recursively causes stack issues for Note - doing it recursively causes stack issues for
big IN clauses big IN clauses
*/ */
if (prev != NULL)
{
next= prev= NULL;
return;
}
Ndb_cond *n= next; Ndb_cond *n= next;
while (n) while (n)
{ {
Ndb_cond *tmp= n; Ndb_cond *tmp= n;
n= n->next; n= n->next;
tmp->next= NULL;
delete tmp; delete tmp;
} }
next= prev= NULL; next= prev= NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment