summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
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
commit41d95c504976746e4d117a4f97e18004f36eb70e (patch)
tree41f4c8d871ed17caa85406b096d767bc51481b0d /sql/sql_insert.cc
parentdf9ab0ffea2eb603179f2bd2abcc66d2c652cdda (diff)
downloadmariadb-git-41d95c504976746e4d117a4f97e18004f36eb70e.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 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 998d3c53e04..24a418f8f25 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1814,7 +1814,6 @@ public:
thd.security_ctx->user=thd.security_ctx->priv_user=(char*) delayed_user;
thd.security_ctx->host=(char*) my_localhost;
thd.current_tablenr=0;
- thd.version=refresh_version;
thd.command=COM_DELAYED_INSERT;
thd.lex->current_select= 0; // for my_message_sql
thd.lex->sql_command= SQLCOM_INSERT; // For innodb::store_lock()