diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2004-12-16 16:31:36 +0300 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2004-12-16 16:31:36 +0300 |
commit | 05bbcee9e6b47e1dac257696ff539c1c45fa1c4d (patch) | |
tree | 9092e19720261600bd1d7610193da9f4fcd1781a /mysql-test/r/information_schema.result | |
parent | 7845f99abf1d36e972970c0fc9431956a8f4b63a (diff) | |
download | mariadb-git-05bbcee9e6b47e1dac257696ff539c1c45fa1c4d.tar.gz |
Fix for bug#7212: information_schema: "Can't find file" errors if storage engine gone(after review)
Diffstat (limited to 'mysql-test/r/information_schema.result')
-rw-r--r-- | mysql-test/r/information_schema.result | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/r/information_schema.result b/mysql-test/r/information_schema.result index 6c427f7fe1d..660c0e7b1bb 100644 --- a/mysql-test/r/information_schema.result +++ b/mysql-test/r/information_schema.result @@ -590,3 +590,28 @@ TABLES TABLE_PRIVILEGES TABLE_CONSTRAINTS TABLE_NAMES +use test; +create function sub1(i int) returns int +return i+1; +create table t1(f1 int); +create view t2 (c) as select f1 from t1; +create view t3 (c) as select sub1(1); +create table t4(f1 int, KEY f1_key (f1)); +drop table t1; +drop function sub1; +select column_name from information_schema.columns +where table_schema='test'; +column_name +f1 +Warnings: +Warning 1356 View 'test.t2' references invalid table(s) or column(s) or function(s) +Warning 1356 View 'test.t3' references invalid table(s) or column(s) or function(s) +select index_name from information_schema.statistics where table_schema='test'; +index_name +f1_key +select constraint_name from information_schema.table_constraints +where table_schema='test'; +constraint_name +drop view t2; +drop view t3; +drop table t4; |