summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-04-27 18:28:57 +0200
committerunknown <msvensson@neptunus.(none)>2005-04-27 18:28:57 +0200
commit758f5d0a59f40b24d05d8e409131138afb0880e1 (patch)
tree18825e6a55da61a4aba1b1c5d2bfbba2075a0066 /mysql-test/t/archive.test
parent2ea087205e3f2df5df52b7f595e4b49b8579f145 (diff)
parentc18bed57151c88911907c6fb01603fb55c0fcc96 (diff)
downloadmariadb-git-758f5d0a59f40b24d05d8e409131138afb0880e1.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0 ndb/src/ndbapi/ndberror.c: Auto merged sql/ha_innodb.cc: Auto merged
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;