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
1ce3dc96
Commit
1ce3dc96
authored
Jan 31, 2007
by
tomas@poseidon.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#25239 Out of memory problem can cause crash in SUMA
parent
0a327618
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
storage/ndb/src/kernel/blocks/suma/Suma.cpp
storage/ndb/src/kernel/blocks/suma/Suma.cpp
+3
-4
No files found.
storage/ndb/src/kernel/blocks/suma/Suma.cpp
View file @
1ce3dc96
...
@@ -4668,9 +4668,7 @@ Suma::out_of_buffer(Signal* signal)
...
@@ -4668,9 +4668,7 @@ Suma::out_of_buffer(Signal* signal)
m_out_of_buffer_gci
=
m_last_complete_gci
-
1
;
m_out_of_buffer_gci
=
m_last_complete_gci
-
1
;
infoEvent
(
"Out of event buffer: nodefailure will cause event failures"
);
infoEvent
(
"Out of event buffer: nodefailure will cause event failures"
);
signal
->
theData
[
0
]
=
SumaContinueB
::
OUT_OF_BUFFER_RELEASE
;
out_of_buffer_release
(
signal
,
0
);
signal
->
theData
[
1
]
=
0
;
sendSignal
(
SUMA_REF
,
GSN_CONTINUEB
,
signal
,
2
,
JBB
);
}
}
void
void
...
@@ -4738,7 +4736,8 @@ Suma::seize_page()
...
@@ -4738,7 +4736,8 @@ Suma::seize_page()
Uint32
count
;
Uint32
count
;
m_tup
->
allocConsPages
(
16
,
count
,
ref
);
m_tup
->
allocConsPages
(
16
,
count
,
ref
);
ndbrequire
(
count
>
0
);
if
(
count
==
0
)
return
RNIL
;
ndbout_c
(
"alloc_chunk(%d %d) - "
,
ref
,
count
);
ndbout_c
(
"alloc_chunk(%d %d) - "
,
ref
,
count
);
...
...
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