diff --git a/mysql-test/r/rename.result b/mysql-test/r/rename.result index 345270231ef98ec614e7e7e407efcde7444cf769..c93bf33a7057edb4d6dab02addc63d86101f0ec2 100644 --- a/mysql-test/r/rename.result +++ b/mysql-test/r/rename.result @@ -54,6 +54,7 @@ Tables_in_test t2 t4 drop table t2, t4; +End of 4.1 tests create table t1(f1 int); create view v1 as select * from t1; alter table v1 rename to v2; @@ -64,3 +65,4 @@ rename table v2 to v1; ERROR 42S01: Table 'v1' already exists drop view v1; drop table t1; +End of 5.0 tests diff --git a/mysql-test/t/rename.test b/mysql-test/t/rename.test index 054b1bd3403718efaedfcb6e5c53af7033a8c34d..61f01dd97b51e6b71ac871431908ee3c0b8cbd8c 100644 --- a/mysql-test/t/rename.test +++ b/mysql-test/t/rename.test @@ -72,6 +72,10 @@ disconnect con2; disconnect con1; connection default; + +--echo End of 4.1 tests + + # # Bug#14959: ALTER TABLE isn't able to rename a view # @@ -85,4 +89,6 @@ rename table v2 to v1; rename table v2 to v1; drop view v1; drop table t1; -# End of 4.1 tests + + +--echo End of 5.0 tests