1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added detection if pthread_attr_getstacksize() exists

Fixed bug in RAND() usage in mysqlbinlog
This commit is contained in:
monty@narttu.mysql.fi
2003-02-27 17:35:51 +02:00
parent fa195bc83a
commit a0d2a621ed
9 changed files with 12 additions and 11 deletions

View File

@@ -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);