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
51092cea
Commit
51092cea
authored
Sep 02, 2010
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a typo bug in JOIN_CACHE::shrink_join_buffer_in_ratio.
parent
f6d2d815
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_join_cache.cc
sql/sql_join_cache.cc
+1
-1
No files found.
sql/sql_join_cache.cc
View file @
51092cea
...
@@ -874,7 +874,7 @@ bool JOIN_CACHE::shrink_join_buffer_in_ratio(ulonglong n, ulonglong d)
...
@@ -874,7 +874,7 @@ bool JOIN_CACHE::shrink_join_buffer_in_ratio(ulonglong n, ulonglong d)
if
(
n
<
d
)
if
(
n
<
d
)
return
FALSE
;
return
FALSE
;
next_buff_size
=
(
ulonglong
)
((
double
)
buff_size
/
n
*
d
);
next_buff_size
=
(
ulonglong
)
((
double
)
buff_size
/
n
*
d
);
set_if_
small
er
(
next_buff_size
,
min_buff_size
);
set_if_
bigg
er
(
next_buff_size
,
min_buff_size
);
buff_size
=
next_buff_size
;
buff_size
=
next_buff_size
;
return
realloc_buffer
();
return
realloc_buffer
();
}
}
...
...
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