diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-04-28 11:11:16 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-04-28 11:11:16 +0200 |
commit | 0e05dc81b3ff42bacb03eb6826ae75876bef2025 (patch) | |
tree | 09c6cbcea9c20faed4ab6713c820421728452727 /sql | |
parent | 84d13a7e882ab9af911ee43d2a6363a8301b3fac (diff) | |
download | mariadb-git-0e05dc81b3ff42bacb03eb6826ae75876bef2025.tar.gz |
rename handler::ha_set_lock_type() -> handler::set_lock_type(),
because it's not a handler convenience wrapper
Diffstat (limited to 'sql')
-rw-r--r-- | sql/handler.cc | 2 | ||||
-rw-r--r-- | sql/handler.h | 2 | ||||
-rw-r--r-- | sql/sql_update.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index f08d4a37e1d..2e20944a96b 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -5285,7 +5285,7 @@ void signal_log_not_needed(struct handlerton, char *log_file) DBUG_VOID_RETURN; } -void handler::ha_set_lock_type(enum thr_lock_type lock) +void handler::set_lock_type(enum thr_lock_type lock) { table->reginfo.lock_type= lock; } diff --git a/sql/handler.h b/sql/handler.h index 5f8b4cde4a7..d7b92003083 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -2952,7 +2952,7 @@ public: inline int ha_write_tmp_row(uchar *buf); inline int ha_update_tmp_row(const uchar * old_data, uchar * new_data); - virtual void ha_set_lock_type(enum thr_lock_type lock); + virtual void set_lock_type(enum thr_lock_type lock); friend enum icp_result handler_index_cond_check(void* h_arg); }; diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 190e2e9a84d..b60f21ca9d5 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -1304,7 +1304,7 @@ int mysql_multi_update_prepare(THD *thd) tl->updating= 0; /* Update TABLE::lock_type accordingly. */ if (!tl->placeholder() && !using_lock_tables) - tl->table->file->ha_set_lock_type(tl->lock_type); + tl->table->file->set_lock_type(tl->lock_type); } } for (tl= table_list; tl; tl= tl->next_local) |