mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
d4befc1dca
Problem: we skip views perfoming --fix-table-names. Fix: rename views as well. client/mysqlcheck.c: Fix for bug #30679: 5.1 name encoding not performed for views during upgrade - rename views performing --fix-table-names as well. mysql-test/r/mysqlcheck.result: Fix for bug #30679: 5.1 name encoding not performed for views during upgrade - test result. mysql-test/t/mysqlcheck.test: Fix for bug #30679: 5.1 name encoding not performed for views during upgrade - test case.
78 lines
3.1 KiB
Text
78 lines
3.1 KiB
Text
DROP TABLE IF EXISTS t1;
|
|
drop view if exists v1;
|
|
drop database if exists client_test_db;
|
|
mysql.columns_priv OK
|
|
mysql.db OK
|
|
mysql.event OK
|
|
mysql.func OK
|
|
mysql.general_log
|
|
note : The storage engine for the table doesn't support optimize
|
|
mysql.help_category OK
|
|
mysql.help_keyword OK
|
|
mysql.help_relation OK
|
|
mysql.help_topic OK
|
|
mysql.host OK
|
|
mysql.ndb_binlog_index OK
|
|
mysql.plugin OK
|
|
mysql.proc OK
|
|
mysql.procs_priv OK
|
|
mysql.servers OK
|
|
mysql.slow_log
|
|
note : The storage engine for the table doesn't support optimize
|
|
mysql.tables_priv OK
|
|
mysql.time_zone OK
|
|
mysql.time_zone_leap_second OK
|
|
mysql.time_zone_name OK
|
|
mysql.time_zone_transition OK
|
|
mysql.time_zone_transition_type OK
|
|
mysql.user OK
|
|
mysql.columns_priv OK
|
|
mysql.db OK
|
|
mysql.event OK
|
|
mysql.func OK
|
|
mysql.general_log
|
|
note : The storage engine for the table doesn't support optimize
|
|
mysql.help_category OK
|
|
mysql.help_keyword OK
|
|
mysql.help_relation OK
|
|
mysql.help_topic OK
|
|
mysql.host OK
|
|
mysql.ndb_binlog_index OK
|
|
mysql.plugin OK
|
|
mysql.proc OK
|
|
mysql.procs_priv OK
|
|
mysql.servers OK
|
|
mysql.slow_log
|
|
note : The storage engine for the table doesn't support optimize
|
|
mysql.tables_priv OK
|
|
mysql.time_zone OK
|
|
mysql.time_zone_leap_second OK
|
|
mysql.time_zone_name OK
|
|
mysql.time_zone_transition OK
|
|
mysql.time_zone_transition_type OK
|
|
mysql.user OK
|
|
create table t1 (a int);
|
|
create view v1 as select * from t1;
|
|
test.t1 OK
|
|
test.t1 OK
|
|
drop view v1;
|
|
drop table t1;
|
|
End of 5.0 tests
|
|
create table t1(a int);
|
|
create view v1 as select * from t1;
|
|
show tables;
|
|
Tables_in_test
|
|
t1
|
|
v1
|
|
show tables;
|
|
Tables_in_test
|
|
t1
|
|
#mysql50#v-1
|
|
v1
|
|
show tables;
|
|
Tables_in_test
|
|
t1
|
|
v1
|
|
v-1
|
|
drop view v1, `v-1`;
|
|
drop table t1;
|