diff options
author | unknown <evgen@moonbone.local> | 2007-06-11 17:14:16 +0400 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2007-06-11 17:14:16 +0400 |
commit | bbef78f41249bd32bc753c83a1240d035ccc525a (patch) | |
tree | 37c33e7db06c07d31bf61788801e8e1ed915080e /mysql-test/t/information_schema.test | |
parent | 2b42067f1adf4aed3c142c1bf20c92d613832618 (diff) | |
parent | ce4e9f7580c02d1e7c5587bccb3a2a2ed7b0cc69 (diff) | |
download | mariadb-git-bbef78f41249bd32bc753c83a1240d035ccc525a.tar.gz |
Merge moonbone.local:/mnt/gentoo64/work/test-5.0-opt-mysql
into moonbone.local:/mnt/gentoo64/work/test-5.1-opt-mysql
mysql-test/r/view.result:
Auto merged
mysql-test/t/grant2.test:
Auto merged
mysql-test/t/view.test:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_show.cc:
Auto merged
mysql-test/r/grant2.result:
SCCS merged
mysql-test/r/information_schema.result:
SCCS merged
mysql-test/t/information_schema.test:
SCCS merged
sql/sql_table.cc:
SCCS merged
Diffstat (limited to 'mysql-test/t/information_schema.test')
-rw-r--r-- | mysql-test/t/information_schema.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test index a49044e63c1..755419cbf52 100644 --- a/mysql-test/t/information_schema.test +++ b/mysql-test/t/information_schema.test @@ -1024,6 +1024,21 @@ where t.table_schema = 'information_schema' and group by c2.column_type order by num limit 1) group by t.table_name order by num1, t.table_name; +# +# Bug#28266 IS_UPDATABLE field on VIEWS table in I_S database is wrong +# +create table t1(f1 int); +create view v1 as select f1+1 as a from t1; +create table t2 (f1 int, f2 int); +create view v2 as select f1+1 as a, f2 as b from t2; +select table_name, is_updatable from information_schema.views; +# +# Note: we can perform 'delete' for non updatable view. +# +delete from v1; +drop view v1,v2; +drop table t1,t2; + --echo End of 5.0 tests. # # Show engines |