summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-06-10 21:42:29 +0300
committerunknown <monty@narttu.mysql.fi>2003-06-10 21:42:29 +0300
commita1a58d6c5a9799cd3746d5bef85a9347051ef356 (patch)
tree89c6a444e8711ecb504294a64b81e9f3f2e6371f /sql/repl_failsafe.cc
parentc126f4fa4440c24b11e1261a360248962c81bf41 (diff)
downloadmariadb-git-a1a58d6c5a9799cd3746d5bef85a9347051ef356.tar.gz
Don't install signal handler for SIGINT by default
Added option --gdb Free memory used by replicate_xxx and binglog_xxx options mysql-test/mysql-test-run.sh: Added --gdb when using gdb mysys/thr_alarm.c: Safety check sql/mysql_priv.h: Don't install signal handler for SIGINT by default sql/mysqld.cc: Don't install signal handler for SIGINT by default Added option --gdb Free memory used by replicate_xxx and binglog_xxx options. Add statistics variable for killed threads sql/repl_failsafe.cc: Incremented aborted_connects on failure sql/sql_list.cc: Added free_list() to free memory on shutdown.
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index 8ed002ca649..1552b3994e9 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -71,6 +71,7 @@ static int init_failsafe_rpl_thread(THD* thd)
if (init_thr_lock() || thd->store_globals())
{
close_connection(&thd->net,ER_OUT_OF_RESOURCES); // is this needed?
+ statistic_increment(aborted_connects,&LOCK_status);
end_thread(thd,0);
DBUG_RETURN(-1);
}