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
17a21220
Commit
17a21220
authored
Feb 21, 2006
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/psergey/mysql-5.1-look
parents
07db5ac8
e76e791d
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 @
17a21220
...
...
@@ -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