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
ce55f84d
Commit
ce55f84d
authored
Sep 18, 2009
by
Alexey Kopytov
Browse files
Options
Browse Files
Download
Plain Diff
Automerge.
parents
d6ca0cbb
4826b61c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mysys/my_largepage.c
mysys/my_largepage.c
+1
-1
No files found.
mysys/my_largepage.c
View file @
ce55f84d
...
@@ -121,7 +121,7 @@ uchar* my_large_malloc_int(size_t size, myf my_flags)
...
@@ -121,7 +121,7 @@ uchar* my_large_malloc_int(size_t size, myf my_flags)
DBUG_ENTER
(
"my_large_malloc_int"
);
DBUG_ENTER
(
"my_large_malloc_int"
);
/* Align block size to my_large_page_size */
/* Align block size to my_large_page_size */
size
=
((
size
-
1
)
&
~
(
my_large_page_size
-
1
))
+
my_large_page_size
;
size
=
MY_ALIGN
(
size
,
(
size_t
)
my_large_page_size
)
;
shmid
=
shmget
(
IPC_PRIVATE
,
size
,
SHM_HUGETLB
|
SHM_R
|
SHM_W
);
shmid
=
shmget
(
IPC_PRIVATE
,
size
,
SHM_HUGETLB
|
SHM_R
|
SHM_W
);
if
(
shmid
<
0
)
if
(
shmid
<
0
)
...
...
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