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
414478f3
Commit
414478f3
authored
Nov 03, 2003
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after review fix
parent
abfa5514
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sql_select.cc
sql/sql_select.cc
+4
-4
No files found.
sql/sql_select.cc
View file @
414478f3
...
...
@@ -982,7 +982,7 @@ JOIN::optimize()
}
}
if
(
select_lex
->
master_unit
()
->
dependent
)
if
(
select_lex
->
master_unit
()
->
uncacheable
)
{
if
(
!
(
tmp_join
=
(
JOIN
*
)
thd
->
alloc
(
sizeof
(
JOIN
))))
DBUG_RETURN
(
-
1
);
...
...
@@ -1053,11 +1053,11 @@ JOIN::reinit()
bool
JOIN
::
save_join_tab
()
{
if
(
!
join_tab_save
&&
select_lex
->
master_unit
()
->
dependent
)
if
(
!
join_tab_save
&&
select_lex
->
master_unit
()
->
uncacheable
)
{
if
(
!
(
join_tab_save
=
(
JOIN_TAB
*
)
thd
->
alloc
(
sizeof
(
JOIN_TAB
)
*
tables
)))
if
(
!
(
join_tab_save
=
(
JOIN_TAB
*
)
thd
->
memdup
((
gptr
)
join_tab
,
sizeof
(
JOIN_TAB
)
*
tables
)))
return
1
;
memcpy
(
join_tab_save
,
join_tab
,
sizeof
(
JOIN_TAB
)
*
tables
);
}
return
0
;
}
...
...
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