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
a6abd60c
Commit
a6abd60c
authored
Feb 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
into mysql.com:/home/timka/mysql/src/5.0-bug-8576
parents
0d8ec8d5
7a8a7607
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sql/opt_range.cc
sql/opt_range.cc
+9
-1
No files found.
sql/opt_range.cc
View file @
a6abd60c
...
...
@@ -7467,7 +7467,7 @@ void cost_group_min_max(TABLE* table, KEY *index_info, uint used_key_parts,
double
quick_prefix_selectivity
;
double
io_cost
;
double
cpu_cost
=
0
;
/* TODO: CPU cost of index_read calls? */
DBUG_ENTER
(
"
TRP_GROUP_MIN_MAX::cost
"
);
DBUG_ENTER
(
"
cost_group_min_max
"
);
table_records
=
table
->
file
->
records
;
keys_per_block
=
(
table
->
file
->
block_size
/
2
/
...
...
@@ -7971,7 +7971,15 @@ int QUICK_GROUP_MIN_MAX_SELECT::get_next()
{
int
min_res
=
0
;
int
max_res
=
0
;
#ifdef HPUX11
/*
volatile is required by a bug in the HP compiler due to which the
last test of result fails.
*/
volatile
int
result
;
#else
int
result
;
#endif
int
is_last_prefix
;
DBUG_ENTER
(
"QUICK_GROUP_MIN_MAX_SELECT::get_next"
);
...
...
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