Commit 915c9f4d authored by unknown's avatar unknown

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
parent 452e0767
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment