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
e76e791d
Commit
e76e791d
authored
Feb 21, 2006
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#15448 (group_min_max test failure): Don't bypass group-min-max optimizer entry point
if we've got a tree of type ALWAYS or MAYBE.
parent
1e437a1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
sql/opt_range.cc
sql/opt_range.cc
+6
-3
No files found.
sql/opt_range.cc
View file @
e76e791d
...
...
@@ -1951,9 +1951,12 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
read_time
=
(
double
)
HA_POS_ERROR
;
goto
free_mem
;
}
if
(
tree
->
type
!=
SEL_TREE
::
KEY
&&
tree
->
type
!=
SEL_TREE
::
KEY_SMALLER
)
goto
free_mem
;
/*
If the tree can't be used for range scans, proceed anyway, as we
can construct a group-min-max quick select
*/
if
(
tree
->
type
!=
SEL_TREE
::
KEY
&&
tree
->
type
!=
SEL_TREE
::
KEY_SMALLER
)
tree
=
NULL
;
}
}
...
...
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