diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:34:27 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:34:27 +0200 |
commit | d71b75c90d86f6a654a7e93ac383b4000533ffbc (patch) | |
tree | f91b486bf0cee267bc79a6dd62c9110c4a650400 /sql/sql_view.cc | |
parent | 163882665eed8c065953bdce05aaa152b6b5df0f (diff) | |
download | mariadb-git-d71b75c90d86f6a654a7e93ac383b4000533ffbc.tar.gz |
moving LOCK_open into get_table_share()
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index 8ce2c145d01..67004dc538d 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -1707,9 +1707,8 @@ bool mysql_drop_view(THD *thd, TABLE_LIST *views, enum_drop_mode drop_mode) some_views_deleted= TRUE; /* - For a view, there is a TABLE_SHARE object, but its - ref_count never goes above 1. Remove it from the table - definition cache, in case the view was cached. + For a view, there is a TABLE_SHARE object. + Remove it from the table definition cache, in case the view was cached. */ tdc_remove_table(thd, TDC_RT_REMOVE_ALL, view->db, view->table_name, FALSE); |