summaryrefslogtreecommitdiff
path: root/libmysqld/lib_sql.cc
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2007-06-18 11:25:26 +0200
committerunknown <joerg@trift2.>2007-06-18 11:25:26 +0200
commit4a56e7ccbfcf4672cfa258b0f96da831f7ae5aee (patch)
tree60a98d49d690e089ddfb2a07b1dea8b6650c8407 /libmysqld/lib_sql.cc
parent82f757ff0f9aa44e4b7c041286bb6282c333a10a (diff)
parente4c320bfeaf64b62afef9ef8cd2a9b2e67305326 (diff)
downloadmariadb-git-4a56e7ccbfcf4672cfa258b0f96da831f7ae5aee.tar.gz
Merge trift2.:/MySQL/M41/mysql-4.1
into trift2.:/MySQL/M41/push-4.1
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 9ee8d48eec4..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= (pthread_t) thd;
+ thd->real_id= (pthread_t)thd->thread_id;
thd->db= NULL;
thd->db_length= 0;