Commit 29b679f2 authored by unknown's avatar unknown

Bug #29185 Large IN list crashes mysqld with cluster and condition pushdown

parent 32c328c5
......@@ -265,16 +265,12 @@ class Ndb_cond : public Sql_alloc
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;
......
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