summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2010-06-10 15:43:32 +0400
committerKonstantin Osipov <kostja@sun.com>2010-06-10 15:43:32 +0400
commit90a87cd52d340abdc0f4b3c7b449426260100db6 (patch)
tree41f4c8d871ed17caa85406b096d767bc51481b0d /libmysqld
parent47b9f64c534f51af037d1bad7b27dfa9a1d1c284 (diff)
downloadmariadb-git-90a87cd52d340abdc0f4b3c7b449426260100db6.tar.gz
A pre-requisite for WL#5419 "LOCK_open scalability:
make tdc_refresh_version an atomic counter". Backport the trivial changes from mysql-trunk-iplus.
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index e727122293c..b36a97759d2 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -634,7 +634,6 @@ void *create_embedded_thd(int client_flag)
thd->variables.option_bits |= OPTION_BIG_SELECTS;
thd->proc_info=0; // Remove 'login'
thd->command=COM_SLEEP;
- thd->version=refresh_version;
thd->set_time();
thd->init_for_queries();
thd->client_capabilities= client_flag;