summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2007-06-08 17:02:48 +0200
committerunknown <joerg@trift2.>2007-06-08 17:02:48 +0200
commit37abc7a056b8e6f605b9b8561ee671e19417a1a8 (patch)
treea0c881fa88209b0abea58abf693714d7791792b7 /libmysqld
parentdb5aab1d2c7fcdb8a35a30063b63c8ce5b9fca55 (diff)
downloadmariadb-git-37abc7a056b8e6f605b9b8561ee671e19417a1a8.tar.gz
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.
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc2
1 files changed, 1 insertions, 1 deletions
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;