Commit 895f2f15 authored by tomas@whalegate.ndb.mysql.com's avatar tomas@whalegate.ndb.mysql.com
Browse files

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

parent 79ad6ff2
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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;