Commit 915c9f4d authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;