summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <df@kahlann.erinye.com>2007-01-27 20:16:15 +0100
committerunknown <df@kahlann.erinye.com>2007-01-27 20:16:15 +0100
commit915c9f4dfcdc1bf0d33005f9f71a94896bae6049 (patch)
tree98a4244e884925ffaf1dd28fae0cd1d5c6e2762c /libmysqld
parent452e07679b0d1ba8d9a6a476f648c2628676c4c5 (diff)
downloadmariadb-git-915c9f4dfcdc1bf0d33005f9f71a94896bae6049.tar.gz
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
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 6d2cc901eb1..0293f6bf33b 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -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;