Commit d5a69e6f authored by kroki/tomash@moonlight.intranet's avatar kroki/tomash@moonlight.intranet

Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-cleanup

into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-cleanup
parents 63f7ca06 1dbf98d1
...@@ -54,6 +54,7 @@ Tables_in_test ...@@ -54,6 +54,7 @@ Tables_in_test
t2 t2
t4 t4
drop table t2, t4; drop table t2, t4;
End of 4.1 tests
create table t1(f1 int); create table t1(f1 int);
create view v1 as select * from t1; create view v1 as select * from t1;
alter table v1 rename to v2; alter table v1 rename to v2;
...@@ -64,3 +65,4 @@ rename table v2 to v1; ...@@ -64,3 +65,4 @@ rename table v2 to v1;
ERROR 42S01: Table 'v1' already exists ERROR 42S01: Table 'v1' already exists
drop view v1; drop view v1;
drop table t1; drop table t1;
End of 5.0 tests
...@@ -72,6 +72,10 @@ disconnect con2; ...@@ -72,6 +72,10 @@ disconnect con2;
disconnect con1; disconnect con1;
connection default; connection default;
--echo End of 4.1 tests
# #
# Bug#14959: ALTER TABLE isn't able to rename a view # Bug#14959: ALTER TABLE isn't able to rename a view
# #
...@@ -85,4 +89,6 @@ rename table v2 to v1; ...@@ -85,4 +89,6 @@ rename table v2 to v1;
rename table v2 to v1; rename table v2 to v1;
drop view v1; drop view v1;
drop table t1; drop table t1;
# End of 4.1 tests
--echo End of 5.0 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment