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
c47c07ca
Commit
c47c07ca
authored
Jun 25, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge abarkov@build.mysql.com:/home/bk/mysql-4.1
into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
parents
c6c4e8b8
39fb96c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_select.cc
sql/sql_select.cc
+2
-2
No files found.
sql/sql_select.cc
View file @
c47c07ca
...
@@ -1227,7 +1227,7 @@ JOIN::exec()
...
@@ -1227,7 +1227,7 @@ JOIN::exec()
{
{
// Some tables may have been const
// Some tables may have been const
curr_join
->
tmp_having
->
update_used_tables
();
curr_join
->
tmp_having
->
update_used_tables
();
JOIN_TAB
*
table
=
&
curr_join
->
join_tab
[
const_tables
];
JOIN_TAB
*
table
=
&
curr_join
->
join_tab
[
c
urr_join
->
c
onst_tables
];
table_map
used_tables
=
curr_join
->
const_table_map
|
table
->
table
->
map
;
table_map
used_tables
=
curr_join
->
const_table_map
|
table
->
table
->
map
;
Item
*
sort_table_cond
=
make_cond_for_table
(
curr_join
->
tmp_having
,
Item
*
sort_table_cond
=
make_cond_for_table
(
curr_join
->
tmp_having
,
...
@@ -1263,7 +1263,7 @@ JOIN::exec()
...
@@ -1263,7 +1263,7 @@ JOIN::exec()
We can abort sorting after thd->select_limit rows if we there is no
We can abort sorting after thd->select_limit rows if we there is no
WHERE clause for any tables after the sorted one.
WHERE clause for any tables after the sorted one.
*/
*/
JOIN_TAB
*
table
=
&
curr_join
->
join_tab
[
const_tables
+
1
];
JOIN_TAB
*
table
=
&
curr_join
->
join_tab
[
c
urr_join
->
c
onst_tables
+
1
];
JOIN_TAB
*
end_table
=
&
curr_join
->
join_tab
[
tables
];
JOIN_TAB
*
end_table
=
&
curr_join
->
join_tab
[
tables
];
for
(;
table
<
end_table
;
table
++
)
for
(;
table
<
end_table
;
table
++
)
{
{
...
...
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