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
6cf62f87
Commit
6cf62f87
authored
Aug 04, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed warnings after fix for bug 28404.
parent
1efab5de
Changes
1
Hide 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 @
6cf62f87
...
...
@@ -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
);
...
...
@@ -12734,7 +12734,10 @@ test_if_skip_sort_order(JOIN_TAB *tab,ORDER *order,ha_rows select_limit,
JOIN
*
join
=
tab
->
join
;
uint
tablenr
=
tab
-
join
->
join_tab
;
ha_rows
table_records
=
table
->
file
->
stats
.
records
;
bool
group
=
join
->
group
&&
order
==
join
->
group_list
;
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