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
f1b05f29
Commit
f1b05f29
authored
Mar 08, 2007
by
gni/root@dev3-221.dev.cn.tlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#25743 If undo_buffer_size (for LG) greater than the inital shared memory (default 20M),
ndbd nodes are crashed
parent
d4b29bf4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
storage/ndb/src/kernel/vm/Pool.hpp
storage/ndb/src/kernel/vm/Pool.hpp
+5
-2
No files found.
storage/ndb/src/kernel/vm/Pool.hpp
View file @
f1b05f29
...
@@ -307,8 +307,11 @@ RecordPool<T, P>::seize(Ptr<T> & ptr)
...
@@ -307,8 +307,11 @@ RecordPool<T, P>::seize(Ptr<T> & ptr)
{
{
Ptr
<
void
>
tmp
;
Ptr
<
void
>
tmp
;
bool
ret
=
m_pool
.
seize
(
tmp
);
bool
ret
=
m_pool
.
seize
(
tmp
);
if
(
likely
(
ret
))
{
ptr
.
i
=
tmp
.
i
;
ptr
.
i
=
tmp
.
i
;
ptr
.
p
=
static_cast
<
T
*>
(
tmp
.
p
);
ptr
.
p
=
static_cast
<
T
*>
(
tmp
.
p
);
}
return
ret
;
return
ret
;
}
}
...
...
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