BUG#25895 compiling the server with embedded fails on several 64-bit platforms

temporary fix


libmysqld/lib_sql.cc:
  BUG#25895 compiling the server with embedded fails on several 64-bit platforms
  
  do not try to cast THD* to pthread_t, this operation is not possible
This commit is contained in:
unknown 2007-01-27 20:16:15 +01:00
parent 452e07679b
commit 915c9f4dfc

View file

@ -598,7 +598,7 @@ void *create_embedded_thd(int client_flag)
thd->set_time();
thd->init_for_queries();
thd->client_capabilities= client_flag;
thd->real_id= (pthread_t) thd;
thd->real_id= pthread_self();
thd->db= NULL;
thd->db_length= 0;