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
d1c9edf4
Commit
d1c9edf4
authored
Dec 06, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize guarded_instance to NULL in constuctor. Avoid looping over
uninitialized list of guarded instances.
parent
ccec047f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
server-tools/instance-manager/guardian.cc
server-tools/instance-manager/guardian.cc
+1
-0
No files found.
server-tools/instance-manager/guardian.cc
View file @
d1c9edf4
...
...
@@ -67,6 +67,7 @@ Guardian::Guardian(Thread_registry *thread_registry_arg,
monitoring_interval
(
monitoring_interval_arg
),
thread_registry
(
thread_registry_arg
),
instance_map
(
instance_map_arg
),
guarded_instances
(
0
),
shutdown_requested
(
FALSE
)
{
pthread_mutex_init
(
&
LOCK_guardian
,
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