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
d4898d17
Commit
d4898d17
authored
Dec 22, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- portability fix for IBM AIX and QNX
parent
9385323d
Changes
1
Hide 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 @
d4898d17
...
...
@@ -1337,7 +1337,7 @@ static int get_index_merge_params(PARAM *param, key_map& needed_reg,
double
n_blocks
=
ceil
((
double
)(
longlong
)
param
->
table
->
file
->
data_file_length
/
IO_SIZE
);
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
;
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