Merge lp:~akopytov/percona-xtradb-cluster/addendum_bug1382797-5.5 into lp:percona-xtradb-cluster/5.5

Proposed by Alexey Kopytov
Status: Merged
Merged at revision: 840
Proposed branch: lp:~akopytov/percona-xtradb-cluster/addendum_bug1382797-5.5
Merge into: lp:percona-xtradb-cluster/5.5
Diff against target: 21 lines (+11/-0)
1 file modified
sql/wsrep_utils.cc (+11/-0)
To merge this branch: bzr merge lp:~akopytov/percona-xtradb-cluster/addendum_bug1382797-5.5
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+251213@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'sql/wsrep_utils.cc'
--- sql/wsrep_utils.cc 2014-12-08 16:17:14 +0000
+++ sql/wsrep_utils.cc 2015-02-27 07:35:21 +0000
@@ -173,6 +173,17 @@
173 }173 }
174#endif174#endif
175175
176 /* Reset the process signal mask to unblock signals blocked by the server */
177
178 sigset_t set;
179 (void) sigemptyset(&set);
180
181 if (sigprocmask(SIG_SETMASK, &set, NULL))
182 {
183 sql_perror("sigprocmask() failed");
184 _exit(EXIT_FAILURE);
185 }
186
176 /* Reset all ignored signals to SIG_DFL */187 /* Reset all ignored signals to SIG_DFL */
177188
178 memset(&sa, 0, sizeof(sa));189 memset(&sa, 0, sizeof(sa));

Subscribers

People subscribed via source and target branches