summaryrefslogtreecommitdiff
path: root/libmysqld/lib_sql.cc
diff options
context:
space:
mode:
authorjoerg@trift2. <>2007-06-13 13:55:42 +0200
committerjoerg@trift2. <>2007-06-13 13:55:42 +0200
commit36adff6d0d1beae1a9c9587d92d2819f403b81dd (patch)
treebb7c4c7beb4cfde962c374550d128c0ad283821f /libmysqld/lib_sql.cc
parentd9fcc304d9b02b97bc259dc74d3b33f44885258d (diff)
parent018a5d403b09d42da97b070a7429e5b94a74648b (diff)
downloadmariadb-git-36adff6d0d1beae1a9c9587d92d2819f403b81dd.tar.gz
Merge trift2.:/MySQL/M41/tmp-4.1
into trift2.:/MySQL/M50/merge-5.0
Diffstat (limited to 'libmysqld/lib_sql.cc')
-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 26d761bf6fd..7ac663480c8 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -590,7 +590,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_t)thd->thread_id;
thd->db= NULL;
thd->db_length= 0;