summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2010-08-18 13:55:37 +0200
committerJon Olav Hauglid <jon.hauglid@oracle.com>2010-08-18 13:55:37 +0200
commitf2123f34e3c0b9315626406786293a5fafa2fc13 (patch)
tree34705bdb0e8d518cdc7400d5d2afb11ae8cf2bab /sql/sql_view.cc
parenteb498cce4dafc2eda285c71ed96d64e451f02ec2 (diff)
parentd0d8bbed5e901e59044be6bcaa6d4020238a1eb4 (diff)
downloadmariadb-git-f2123f34e3c0b9315626406786293a5fafa2fc13.tar.gz
Merge from mysql-5.5-bugfixing to mysql-5.5-runtime
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r--sql/sql_view.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index b6671d9096b..5fdf7b8d850 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -433,8 +433,6 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
goto err;
lex->link_first_table_back(view, link_to_local);
- view->open_strategy= TABLE_LIST::OPEN_STUB;
- view->lock_strategy= TABLE_LIST::OTLS_NONE;
view->open_type= OT_BASE_ONLY;
if (open_and_lock_tables(thd, lex->query_tables, TRUE, 0))