summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-02-27 17:35:51 +0200
committerunknown <monty@narttu.mysql.fi>2003-02-27 17:35:51 +0200
commite6dad7043682a140ed907b3dd5a79904603fde33 (patch)
tree9a78565a91c6598a50921f763c99dee6cfe2c4d1 /sql/sql_insert.cc
parentbe9a61f17541339a2d5ac71f48cf2cb1cb78d305 (diff)
downloadmariadb-git-e6dad7043682a140ed907b3dd5a79904603fde33.tar.gz
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)
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc1
1 files changed, 1 insertions, 0 deletions
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);