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
fd3be503
Commit
fd3be503
authored
Aug 04, 2007
by
igor@olga.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed warnings after fix for bug 28404.
parent
e39d06e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/sql_select.cc
sql/sql_select.cc
+5
-2
No files found.
sql/sql_select.cc
View file @
fd3be503
...
...
@@ -12596,7 +12596,7 @@ test_if_skip_sort_order(JOIN_TAB *tab,ORDER *order,ha_rows select_limit,
TABLE
*
table
=
tab
->
table
;
SQL_SELECT
*
select
=
tab
->
select
;
key_map
usable_keys
;
QUICK_SELECT_I
*
save_quick
;
QUICK_SELECT_I
*
save_quick
=
0
;
DBUG_ENTER
(
"test_if_skip_sort_order"
);
LINT_INIT
(
ref_key_parts
);
...
...
@@ -12735,6 +12735,9 @@ test_if_skip_sort_order(JOIN_TAB *tab,ORDER *order,ha_rows select_limit,
uint
tablenr
=
tab
-
join
->
join_tab
;
ha_rows
table_records
=
table
->
file
->
stats
.
records
;
bool
group
=
join
->
group
&&
order
==
join
->
group_list
;
LINT_INIT
(
best_key_parts
);
LINT_INIT
(
best_key_direction
);
LINT_INIT
(
best_records
);
/*
filesort() and join cache are usually faster than reading in
...
...
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