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
462dba1b
Commit
462dba1b
authored
Sep 13, 2003
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed memory leak (now JOIN cleaning procedure always called)
parent
efce59fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
sql/sql_select.cc
sql/sql_select.cc
+2
-5
No files found.
sql/sql_select.cc
View file @
462dba1b
...
@@ -1514,7 +1514,7 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
...
@@ -1514,7 +1514,7 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
conds
,
og_num
,
order
,
group
,
having
,
proc_param
,
conds
,
og_num
,
order
,
group
,
having
,
proc_param
,
select_lex
,
unit
,
tables_and_fields_initied
))
select_lex
,
unit
,
tables_and_fields_initied
))
{
{
DBUG_RETURN
(
-
1
)
;
goto
err
;
}
}
}
}
join
->
select_options
=
select_options
;
join
->
select_options
=
select_options
;
...
@@ -1529,15 +1529,12 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
...
@@ -1529,15 +1529,12 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
conds
,
og_num
,
order
,
group
,
having
,
proc_param
,
conds
,
og_num
,
order
,
group
,
having
,
proc_param
,
select_lex
,
unit
,
tables_and_fields_initied
))
select_lex
,
unit
,
tables_and_fields_initied
))
{
{
DBUG_RETURN
(
-
1
)
;
goto
err
;
}
}
}
}
if
((
err
=
join
->
optimize
()))
if
((
err
=
join
->
optimize
()))
{
{
if
(
err
==
-
1
)
DBUG_RETURN
(
join
->
error
);
DBUG_ASSERT
(
err
==
1
);
goto
err
;
// 1
goto
err
;
// 1
}
}
...
...
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