Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
79ad6ff2
Commit
79ad6ff2
authored
Jun 19, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #29185 Large IN list crashes mysqld with cluster and condition pushdown
parent
8a08ac40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
sql/ha_ndbcluster_cond.h
sql/ha_ndbcluster_cond.h
+18
-2
No files found.
sql/ha_ndbcluster_cond.h
View file @
79ad6ff2
...
...
@@ -259,8 +259,24 @@ class Ndb_cond : public Sql_alloc
~
Ndb_cond
()
{
if
(
ndb_item
)
delete
ndb_item
;
ndb_item
=
NULL
;
if
(
next
)
delete
next
;
ndb_item
=
NULL
;
/*
First item in the linked list deletes all in a loop
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
;
delete
tmp
;
}
next
=
prev
=
NULL
;
};
Ndb_item
*
ndb_item
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment