Bug #29185 Large IN list crashes mysqld with cluster and condition pushdown
This commit is contained in:
parent
79ad6ff22a
commit
895f2f15af
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user