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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
32c328c5
Commit
32c328c5
authored
Jun 19, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #29185 Large IN list crashes mysqld with cluster and condition pushdown
parent
60a6e9d8
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 @
32c328c5
...
@@ -259,8 +259,24 @@ class Ndb_cond : public Sql_alloc
...
@@ -259,8 +259,24 @@ class Ndb_cond : public Sql_alloc
~
Ndb_cond
()
~
Ndb_cond
()
{
{
if
(
ndb_item
)
delete
ndb_item
;
if
(
ndb_item
)
delete
ndb_item
;
ndb_item
=
NULL
;
ndb_item
=
NULL
;
if
(
next
)
delete
next
;
/*
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
;
next
=
prev
=
NULL
;
};
};
Ndb_item
*
ndb_item
;
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