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
82976fe0
Commit
82976fe0
authored
Jun 19, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
parents
b36a87ae
79ad6ff2
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 @
82976fe0
...
@@ -264,8 +264,24 @@ class Ndb_cond : public Sql_alloc
...
@@ -264,8 +264,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