summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorjoerg@trift2. <>2007-06-08 17:02:48 +0200
committerjoerg@trift2. <>2007-06-08 17:02:48 +0200
commit2d718ff1c2cdcb3a934ceafbf7335d1804b7d3d5 (patch)
treea0c881fa88209b0abea58abf693714d7791792b7 /libmysqld
parentab64b2f8f37d7e294c867cb4c346f36e70a0fb88 (diff)
downloadmariadb-git-2d718ff1c2cdcb3a934ceafbf7335d1804b7d3d5.tar.gz
Add a cast, needed by some platforms.
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;