From ab1f1e190cc4bfd19e5ce7bcea2488908d2e75c1 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 Feb 2003 17:35:51 +0200 Subject: Added detection if pthread_attr_getstacksize() exists Fixed bug in RAND() usage in mysqlbinlog configure.in: Added detection if pthread_attr_getstacksize() exists include/thr_lock.h: Fixed wrong comment sql/log_event.cc: Fixed bug in RAND() usage in mysqlbinlog sql/mysqld.cc: Portablity fix sql/repl_failsafe.cc: Set host_or_ip for system threads (to make other code simpler) sql/slave.cc: Set host_or_ip for system threads (to make other code simpler) sql/sql_class.cc: Set host_or_ip for system threads (to make other code simpler) sql/sql_insert.cc: Set host_or_ip for system threads (to make other code simpler) sql/sql_show.cc: Set host_or_ip for system threads (to make other code simpler) --- sql/sql_insert.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_insert.cc') diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 23563239558..32071e5b083 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -535,6 +535,7 @@ public: bzero((char*) &thd.net,sizeof(thd.net)); // Safety thd.system_thread=1; + thd.host_or_ip= ""; bzero((char*) &info,sizeof(info)); pthread_mutex_init(&mutex,MY_MUTEX_INIT_FAST); pthread_cond_init(&cond,NULL); -- cgit v1.2.1