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
122aed19
Commit
122aed19
authored
Feb 24, 2007
by
anozdrin/alik@booka.opbmk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove DBUG_ASSERT() -- essential functionality can not be
wrapped by DBUG_ASSERT().
parent
171be698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
server-tools/instance-manager/angel.cc
server-tools/instance-manager/angel.cc
+8
-8
No files found.
server-tools/instance-manager/angel.cc
View file @
122aed19
...
...
@@ -247,10 +247,10 @@ static int angel_main_loop()
/* NOTE: sigaction() fails only if arguments are wrong. */
DBUG_ASSERT
(
!
sigaction
(
SIGCHLD
,
&
sa_chld
,
&
sa_chld_orig
)
);
DBUG_ASSERT
(
!
sigaction
(
SIGTERM
,
&
sa_term
,
&
sa_term_orig
)
);
DBUG_ASSERT
(
!
sigaction
(
SIGINT
,
&
sa_term
,
&
sa_int_orig
)
);
DBUG_ASSERT
(
!
sigaction
(
SIGHUP
,
&
sa_term
,
&
sa_hup_orig
)
);
sigaction
(
SIGCHLD
,
&
sa_chld
,
&
sa_chld_orig
);
sigaction
(
SIGTERM
,
&
sa_term
,
&
sa_term_orig
);
sigaction
(
SIGINT
,
&
sa_term
,
&
sa_int_orig
);
sigaction
(
SIGHUP
,
&
sa_term
,
&
sa_hup_orig
);
/* The main Angel loop. */
...
...
@@ -279,10 +279,10 @@ static int angel_main_loop()
/* NOTE: sigaction() fails only if arguments are wrong. */
DBUG_ASSERT
(
!
sigaction
(
SIGCHLD
,
&
sa_chld_orig
,
NULL
)
);
DBUG_ASSERT
(
!
sigaction
(
SIGTERM
,
&
sa_term_orig
,
NULL
)
);
DBUG_ASSERT
(
!
sigaction
(
SIGINT
,
&
sa_int_orig
,
NULL
)
);
DBUG_ASSERT
(
!
sigaction
(
SIGHUP
,
&
sa_hup_orig
,
NULL
)
);
sigaction
(
SIGCHLD
,
&
sa_chld_orig
,
NULL
);
sigaction
(
SIGTERM
,
&
sa_term_orig
,
NULL
);
sigaction
(
SIGINT
,
&
sa_int_orig
,
NULL
);
sigaction
(
SIGHUP
,
&
sa_hup_orig
,
NULL
);
log_info
(
"Angel: executing Manager..."
);
...
...
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