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
9b25294b
Commit
9b25294b
authored
Feb 07, 2006
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - main.cpp: avoid SEGV if fetch_configuration fails before fork
parent
b25b4e9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ndb/src/kernel/main.cpp
ndb/src/kernel/main.cpp
+4
-2
No files found.
ndb/src/kernel/main.cpp
View file @
9b25294b
...
...
@@ -63,8 +63,10 @@ extern "C" void handler_sigusr1(int signum); // child signalling failed restart
void
systemInfo
(
const
Configuration
&
conf
,
const
LogLevel
&
ll
);
static
FILE
*
child_info_file_r
=
0
;
static
FILE
*
child_info_file_w
=
0
;
// These are used already before fork if fetch_configuration() fails
// (e.g. Unable to alloc node id). Set them to something reasonable.
static
FILE
*
child_info_file_r
=
stdin
;
static
FILE
*
child_info_file_w
=
stdout
;
static
void
writeChildInfo
(
const
char
*
token
,
int
val
)
{
...
...
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