Commit 7fa3b3cf authored by tomas@whalegate.ndb.mysql.com's avatar tomas@whalegate.ndb.mysql.com

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

into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
parents 82976fe0 895f2f15
...@@ -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