mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge janus.mylan:/usr/home/serg/Abk/mysql-5.0-build
into janus.mylan:/usr/home/serg/Abk/mysql-5.1-build
This commit is contained in:
@@ -61,7 +61,7 @@ fi
|
|||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
client_args="--silent --socket=$socket_path --connect_timeout=1 "
|
client_args="--no-defaults --silent --socket=$socket_path --connect_timeout=1 "
|
||||||
|
|
||||||
[ -n "$username" ] && client_args="$client_args --user=$username "
|
[ -n "$username" ] && client_args="$client_args --user=$username "
|
||||||
[ -n "$password" ] && client_args="$client_args --password=$password "
|
[ -n "$password" ] && client_args="$client_args --password=$password "
|
||||||
|
@@ -2346,14 +2346,13 @@ static void init_signals(void)
|
|||||||
#ifdef SIGTSTP
|
#ifdef SIGTSTP
|
||||||
sigaddset(&set,SIGTSTP);
|
sigaddset(&set,SIGTSTP);
|
||||||
#endif
|
#endif
|
||||||
|
if (thd_lib_detected != THD_LIB_LT)
|
||||||
sigaddset(&set,THR_SERVER_ALARM);
|
sigaddset(&set,THR_SERVER_ALARM);
|
||||||
if (test_flags & TEST_SIGINT)
|
if (test_flags & TEST_SIGINT)
|
||||||
{
|
{
|
||||||
// May be SIGINT
|
// May be SIGINT
|
||||||
sigdelset(&set, thr_kill_signal);
|
sigdelset(&set, thr_kill_signal);
|
||||||
}
|
}
|
||||||
// For alarms
|
|
||||||
sigdelset(&set, thr_client_alarm);
|
|
||||||
sigprocmask(SIG_SETMASK,&set,NULL);
|
sigprocmask(SIG_SETMASK,&set,NULL);
|
||||||
pthread_sigmask(SIG_SETMASK,&set,NULL);
|
pthread_sigmask(SIG_SETMASK,&set,NULL);
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
|
Reference in New Issue
Block a user