diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-02-23 18:49:21 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-02-23 18:49:21 +0300 |
commit | 1dd2f90faf79eb1b194c9af0cde987c8a7b3058f (patch) | |
tree | df9457baf92d1aba63e31cc13fdfe0cc6b6e4be6 /mysql-test/r/view.result | |
parent | fcc9c8627a54f68ffe7c2f225d20a9f8c1016a08 (diff) | |
parent | 0a8a9a3fc083fbaf44ce2b59d4995af9950f11b4 (diff) | |
download | mariadb-git-1dd2f90faf79eb1b194c9af0cde987c8a7b3058f.tar.gz |
Auto-merge from mysql-next-mr-bugfixing.
Diffstat (limited to 'mysql-test/r/view.result')
-rw-r--r-- | mysql-test/r/view.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result index 5c5afd2a0ec..e678718d3d5 100644 --- a/mysql-test/r/view.result +++ b/mysql-test/r/view.result @@ -839,7 +839,7 @@ ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function show table status; Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment t1 MyISAM 10 Fixed 0 0 0 # 1024 0 NULL # # NULL latin1_swedish_ci NULL -v1 NULL NULL NULL NULL NULL NULL # NULL NULL NULL # # NULL NULL NULL NULL View 'test.v1' references invalid table(s) or column(s) or function(s) or define +v1 NULL NULL NULL NULL NULL NULL # NULL NULL NULL # # NULL NULL NULL NULL View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them drop view v1; drop table t1; create view v1 as select 99999999999999999999999999999999999999999999999999999 as col1; @@ -3685,7 +3685,7 @@ c1 c2 2 2 CREATE VIEW v1 AS SELECT c1, c2 FROM t1; SHOW INDEX FROM v1; -Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment +Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment SELECT * FROM v1 USE INDEX (PRIMARY) WHERE c1=2; ERROR 42000: Key 'PRIMARY' doesn't exist in table 'v1' SELECT * FROM v1 FORCE INDEX (PRIMARY) WHERE c1=2; |