diff options
author | unknown <ramil/ram@ramil.myoffice.izhnet.ru> | 2007-10-31 11:40:53 +0400 |
---|---|---|
committer | unknown <ramil/ram@ramil.myoffice.izhnet.ru> | 2007-10-31 11:40:53 +0400 |
commit | ef19210e5f606f79285544925207bcb3cee26d3a (patch) | |
tree | 245071aa1782b41027ffd023ca653abe453e473a /mysql-test/t/mysqlcheck.test | |
parent | 042963d56bc0fa4f44ad9f9bc21b4c28da16f625 (diff) | |
parent | d4befc1dca23d4ed535a4eb2f82700b54702375b (diff) | |
download | mariadb-git-ef19210e5f606f79285544925207bcb3cee26d3a.tar.gz |
Merge mysql.com:/home/ram/work/mysql-5.1-maint
into mysql.com:/home/ram/work/b30679/b30679.5.1
client/mysqlcheck.c:
Auto merged
mysql-test/r/mysqlcheck.result:
Auto merged
mysql-test/t/mysqlcheck.test:
Auto merged
Diffstat (limited to 'mysql-test/t/mysqlcheck.test')
-rw-r--r-- | mysql-test/t/mysqlcheck.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlcheck.test b/mysql-test/t/mysqlcheck.test index b9e022bf29a..6a7f44b4dbe 100644 --- a/mysql-test/t/mysqlcheck.test +++ b/mysql-test/t/mysqlcheck.test @@ -47,3 +47,16 @@ create table `t 1`(a int); drop table `t``1`, `t 1`; --echo End of 5.0 tests + +# +# Bug #30679: 5.1 name encoding not performed for views during upgrade +# +create table t1(a int); +create view v1 as select * from t1; +show tables; +--copy_file $MYSQLTEST_VARDIR/master-data/test/v1.frm $MYSQLTEST_VARDIR/master-data/test/v-1.frm +show tables; +--exec $MYSQL_CHECK --check-upgrade --fix-table-names --databases test +show tables; +drop view v1, `v-1`; +drop table t1; |