Commit 3737db15 authored by unknown's avatar unknown

Add a cast, needed by some platforms.

Still part of the fix for bug#27078.


libmysqld/lib_sql.cc:
  Some platforms need a cast.
  Still part of the fix for bug#27078.
parent c78aea1e
...@@ -540,7 +540,7 @@ void *create_embedded_thd(int client_flag) ...@@ -540,7 +540,7 @@ void *create_embedded_thd(int client_flag)
thd->set_time(); thd->set_time();
thd->init_for_queries(); thd->init_for_queries();
thd->client_capabilities= client_flag; thd->client_capabilities= client_flag;
thd->real_id= thd->thread_id; thd->real_id= (pthread_t)thd->thread_id;
thd->db= NULL; thd->db= NULL;
thd->db_length= 0; 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