diff options
author | igor@rurik.mysql.com <> | 2005-05-10 16:31:13 -0700 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2005-05-10 16:31:13 -0700 |
commit | 9d4b228b61e4ecc1a023dca92a253bea0a4ec91a (patch) | |
tree | a60dad46c054f43e7617ba684f1346dbcb0ba1b7 /sql/sql_view.cc | |
parent | fd7176121eb1f1f11361b4c9306c5bb032296cc5 (diff) | |
download | mariadb-git-9d4b228b61e4ecc1a023dca92a253bea0a4ec91a.tar.gz |
Many files:
Fixed bug #8528.
Representation for single-table views was made similar to
representation for multi-table views.
view.test:
Added test case for bug #8528.
view.result:
Added test case for bug #8528. Fixed other test cases.
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index be643c36d7d..333a713257f 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -773,9 +773,9 @@ mysql_make_view(File_parser *parser, TABLE_LIST *table) tbl->lock_type= table->lock_type; } - /* multi table view */ - if (view_tables->next_local) { + if (view_tables->next_local) + table->multitable_view= TRUE; /* make nested join structure for view tables */ NESTED_JOIN *nested_join; if (!(nested_join= table->nested_join= |