From 37abc7a056b8e6f605b9b8561ee671e19417a1a8 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 8 Jun 2007 17:02:48 +0200 Subject: [PATCH] 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. --- libmysqld/lib_sql.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 92b7b10f0c0..7f2059db7cd 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -540,7 +540,7 @@ void *create_embedded_thd(int client_flag) thd->set_time(); thd->init_for_queries(); thd->client_capabilities= client_flag; - thd->real_id= thd->thread_id; + thd->real_id= (pthread_t)thd->thread_id; thd->db= NULL; thd->db_length= 0;