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
f9e2c6cd
Commit
f9e2c6cd
authored
Dec 22, 2003
by
lenz@kallisto.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- portability fix for IBM AIX and QNX
parent
2ffbfe27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/opt_range.cc
sql/opt_range.cc
+1
-1
No files found.
sql/opt_range.cc
View file @
f9e2c6cd
...
@@ -1337,7 +1337,7 @@ static int get_index_merge_params(PARAM *param, key_map& needed_reg,
...
@@ -1337,7 +1337,7 @@ static int get_index_merge_params(PARAM *param, key_map& needed_reg,
double
n_blocks
=
double
n_blocks
=
ceil
((
double
)(
longlong
)
param
->
table
->
file
->
data_file_length
/
IO_SIZE
);
ceil
((
double
)(
longlong
)
param
->
table
->
file
->
data_file_length
/
IO_SIZE
);
double
busy_blocks
=
double
busy_blocks
=
n_blocks
*
(
1.0
-
pow
(
1.0
-
1.0
/
n_blocks
,
records_for_unique
));
n_blocks
*
(
1.0
-
pow
(
1.0
-
1.0
/
n_blocks
,
(
double
)
records_for_unique
));
JOIN
*
join
=
param
->
thd
->
lex
->
select_lex
.
join
;
JOIN
*
join
=
param
->
thd
->
lex
->
select_lex
.
join
;
if
(
!
join
||
join
->
tables
==
1
)
if
(
!
join
||
join
->
tables
==
1
)
...
...
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