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
5e84eb56
Commit
5e84eb56
authored
Feb 12, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
parents
e307a46c
7ca34a79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
sql/opt_range.cc
sql/opt_range.cc
+12
-7
No files found.
sql/opt_range.cc
View file @
5e84eb56
...
@@ -8820,7 +8820,7 @@ int QUICK_GROUP_MIN_MAX_SELECT::get_next()
...
@@ -8820,7 +8820,7 @@ int QUICK_GROUP_MIN_MAX_SELECT::get_next()
#else
#else
int
result
;
int
result
;
#endif
#endif
int
is_last_prefix
;
int
is_last_prefix
=
0
;
DBUG_ENTER
(
"QUICK_GROUP_MIN_MAX_SELECT::get_next"
);
DBUG_ENTER
(
"QUICK_GROUP_MIN_MAX_SELECT::get_next"
);
...
@@ -8835,13 +8835,18 @@ int QUICK_GROUP_MIN_MAX_SELECT::get_next()
...
@@ -8835,13 +8835,18 @@ int QUICK_GROUP_MIN_MAX_SELECT::get_next()
Check if this is the last group prefix. Notice that at this point
Check if this is the last group prefix. Notice that at this point
this->record contains the current prefix in record format.
this->record contains the current prefix in record format.
*/
*/
is_last_prefix
=
key_cmp
(
index_info
->
key_part
,
last_prefix
,
if
(
!
result
)
group_prefix_len
);
{
DBUG_ASSERT
(
is_last_prefix
<=
0
);
is_last_prefix
=
key_cmp
(
index_info
->
key_part
,
last_prefix
,
if
(
result
==
HA_ERR_KEY_NOT_FOUND
)
group_prefix_len
);
continue
;
DBUG_ASSERT
(
is_last_prefix
<=
0
);
else
if
(
result
)
}
else
{
if
(
result
==
HA_ERR_KEY_NOT_FOUND
)
continue
;
break
;
break
;
}
if
(
have_min
)
if
(
have_min
)
{
{
...
...
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