summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@skysql.com>2014-06-10 16:04:26 -0400
committerNirbhay Choubey <nirbhay@skysql.com>2014-06-10 16:04:26 -0400
commitb441c510a7ea731e2da0fa9b4cf3e7f1275f841b (patch)
tree7147fc480bff17dc310cb3c03494777ad1878071 /sql/handler.cc
parentd3b2e780d6ddee9a4f434ba9928f77127bbbeeb1 (diff)
parent6d75570e99fbf070cdbeefdfbcfc94d1c7b3ad1f (diff)
downloadmariadb-git-b441c510a7ea731e2da0fa9b4cf3e7f1275f841b.tar.gz
bzr merge -rtag:mariadb-5.5.38 maria/5.5
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index ad651e7de4a..cd1e03d7879 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -5371,6 +5371,10 @@ void signal_log_not_needed(struct handlerton, char *log_file)
DBUG_VOID_RETURN;
}
+void handler::set_lock_type(enum thr_lock_type lock)
+{
+ table->reginfo.lock_type= lock;
+}
#ifdef WITH_WSREP
/**