summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-04-27 12:56:01 +0200
committerunknown <msvensson@neptunus.(none)>2005-04-27 12:56:01 +0200
commit6d5dd516270187bccf0ff356a87b91b64befa730 (patch)
tree922f8cbd12ff26fed829ed3fbe11e44e2ea2923f /mysql-test/t/archive.test
parent1c6b4eba3326fae5d152c9cc4fe3551ce25e0ef6 (diff)
parentbb4df7df8d32f18a393c6ee4eb0963b1ac37755f (diff)
downloadmariadb-git-6d5dd516270187bccf0ff356a87b91b64befa730.tar.gz
Merge from 4.1 to 5.0
client/mysql.cc: Auto merged include/my_pthread.h: Auto merged ndb/src/ndbapi/ndberror.c: Auto merged sql/examples/ha_archive.cc: Auto merged sql/examples/ha_archive.h: Auto merged BUILD/SETUP.sh: Manual merge of conflicts -DBIG_TABLES removed set by configure using --with-big-tables configure.in: manual merge mysql-test/r/archive.result: Manual merge mysql-test/t/archive.test: Manual merge
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;