Below is the list of changes that have just been committed into a local
5.1 repository of alik. When alik does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-02-24 13:41:59+03:00, anozdrin@stripped +1 -0
Remove DBUG_ASSERT() -- essential functionality can not be
wrapped by DBUG_ASSERT().
server-tools/instance-manager/angel.cc@stripped, 2007-02-24 13:41:56+03:00, anozdrin@stripped +8 -8
Remove DBUG_ASSERT() -- essential functionality can not be
wrapped by DBUG_ASSERT().
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: anozdrin
# Host: booka.opbmk
# Root: /home/alik/Documents/MySQL/devel/5.1-rt-im
--- 1.5/server-tools/instance-manager/angel.cc 2007-02-24 13:37:10 +03:00
+++ 1.6/server-tools/instance-manager/angel.cc 2007-02-24 13:41:56 +03:00
@@ -247,10 +247,10 @@
/* 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 @@
/* 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...");
| Thread |
|---|
| • bk commit into 5.1 tree (anozdrin:1.2442) | Alexander Nozdrin | 24 Feb |