summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive.test
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-04-27 12:56:01 +0200
committermsvensson@neptunus.(none) <>2005-04-27 12:56:01 +0200
commit203cdde955258cc5451bbc87cdc9d4566976e9d4 (patch)
tree922f8cbd12ff26fed829ed3fbe11e44e2ea2923f /mysql-test/t/archive.test
parent2627475a8687209fc272c71bafeca9e20e151208 (diff)
parent6b84489a018fc01fcdba002669b209101e987101 (diff)
downloadmariadb-git-203cdde955258cc5451bbc87cdc9d4566976e9d4.tar.gz
Merge from 4.1 to 5.0
Diffstat (limited to 'mysql-test/t/archive.test')
-rw-r--r--mysql-test/t/archive.test13
1 files changed, 12 insertions, 1 deletions
diff --git a/mysql-test/t/archive.test b/mysql-test/t/archive.test
index f7ec603ca79..9d027e65c49 100644
--- a/mysql-test/t/archive.test
+++ b/mysql-test/t/archive.test
@@ -1312,4 +1312,15 @@ INSERT DELAYED INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily',''
#
# Cleanup, test is over
#
-drop table t1, t2;
+
+#
+# Test rename of table
+#
+create table t3 engine=archive select * from t2;
+select * from t3 where fld3='bonfire';
+select count(*) from t3;
+rename table t3 to t4;
+select * from t4 where fld3='bonfire';
+select count(*) from t4;
+
+drop table t1, t2, t4;