List:Commits« Previous MessageNext Message »
From:jani Date:March 29 2007 4:31pm
Subject:bk commit into 5.1 tree (jani:1.2529)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of jani. When jani 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-03-29 19:31:42+03:00, jani@stripped +2 -0
  Merged from 5.0

  mysys/thr_alarm.c@stripped, 2007-03-29 19:31:38+03:00, jani@stripped +4 -1
    Merged from 5.0

  sql/mysqld.cc@stripped, 2007-03-29 19:31:38+03:00, jani@stripped +2 -1
    Merged from 5.0

# 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:	jani
# Host:	ua141d10.elisa.omakaista.fi
# Root:	/home/my/bk/mysql-5.1-marvel

--- 1.60/mysys/thr_alarm.c	2007-03-29 19:31:50 +03:00
+++ 1.61/mysys/thr_alarm.c	2007-03-29 19:31:50 +03:00
@@ -76,7 +76,10 @@
   sigfillset(&full_signal_set);			/* Neaded to block signals */
   pthread_mutex_init(&LOCK_alarm,MY_MUTEX_INIT_FAST);
   pthread_cond_init(&COND_alarm,NULL);
-  thr_client_alarm= thd_lib_detected == THD_LIB_LT ?  SIGALRM : SIGUSR1;
+  if (thd_lib_detected == THD_LIB_LT)
+    thr_client_alarm= SIGALRM;
+  else
+    thr_client_alarm= SIGUSR1;
 #ifndef USE_ALARM_THREAD
   if (thd_lib_detected != THD_LIB_LT)
 #endif

--- 1.626/sql/mysqld.cc	2007-03-29 19:31:50 +03:00
+++ 1.627/sql/mysqld.cc	2007-03-29 19:31:50 +03:00
@@ -2351,7 +2351,8 @@
 #ifdef SIGTSTP
   sigaddset(&set,SIGTSTP);
 #endif
-  sigaddset(&set,THR_SERVER_ALARM);
+  if (thd_lib_detected != THD_LIB_LT)
+    sigaddset(&set,THR_SERVER_ALARM);
   if (test_flags & TEST_SIGINT)
   {
     // May be SIGINT
Thread
bk commit into 5.1 tree (jani:1.2529)jani29 Mar