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
This commit is contained in:
commit
f644f34ef4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user