diff options
author | monty@hundin.mysql.fi <> | 2002-06-27 11:27:04 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-06-27 11:27:04 +0300 |
commit | 8a2daeac77951b6f97bfbfbd3db3995cae37b4c3 (patch) | |
tree | 857f8b9d553911f4937bee644ea5d2c3606e8e58 /sql/sql_test.cc | |
parent | 12f9623b62e5418028b88d2c3112e5d8b40ed747 (diff) | |
download | mariadb-git-8a2daeac77951b6f97bfbfbd3db3995cae37b4c3.tar.gz |
Removed mysql_ssl_clear()
Added statistics information for alarms (for bug tracking)
Don't store "incomplete" in the xxx.cfg file if we are not using --restart. (Crash-me)
Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
Aded new script mysql_tableinfo to make a system directory.
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r-- | sql/sql_test.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc index 43c24da85a2..9c458c27b95 100644 --- a/sql/sql_test.cc +++ b/sql/sql_test.cc @@ -21,6 +21,7 @@ #include "mysql_priv.h" #include "sql_select.h" #include <hash.h> +#include <thr_alarm.h> /* Intern key cache variables */ extern "C" pthread_mutex_t THR_LOCK_keycache; @@ -239,6 +240,17 @@ Open streams: %10lu\n", (ulong) cached_tables(), (ulong) my_file_opened, (ulong) my_stream_opened); + + ALARM_INFO alarm_info; + thr_alarm_info(&alarm_info); + printf("\nAlarm status:\n\ +Active alarms: %u\n\ +Max used alarms: %u\n\ +Next alarm time: %lu\n", + alarm_info.active_alarms, + alarm_info.max_used_alarms, + alarm_info.next_alarm_time); + fflush(stdout); if (thd) thd->proc_info="malloc"; |