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
24cd633f
Commit
24cd633f
authored
8 years ago
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove JOIN_TAB::used_window_func, it is not used anymore
parent
75965892
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
sql/sql_select.cc
sql/sql_select.cc
+1
-1
sql/sql_select.h
sql/sql_select.h
+0
-2
No files found.
sql/sql_select.cc
View file @
24cd633f
...
...
@@ -19137,7 +19137,7 @@ int join_init_read_record(JOIN_TAB *tab)
if
(
tab
->
distinct
&&
tab
->
remove_duplicates
())
// Remove duplicates.
return
1
;
if
(
tab
->
filesort
&&
!
tab
->
used_for_window_func
&&
tab
->
sort_table
())
// Sort table.
if
(
tab
->
filesort
&&
tab
->
sort_table
())
// Sort table.
return
1
;
if
(
tab
->
select
&&
tab
->
select
->
quick
&&
(
error
=
tab
->
select
->
quick
->
reset
()))
...
...
This diff is collapsed.
Click to expand it.
sql/sql_select.h
View file @
24cd633f
...
...
@@ -430,8 +430,6 @@ typedef struct st_join_table {
*/
Window_funcs_computation
*
window_funcs
;
bool
used_for_window_func
;
/**
List of topmost expressions in the select list. The *next* JOIN TAB
in the plan should use it to obtain correct values. Same applicable to
...
...
This diff is collapsed.
Click to expand it.
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