summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive.test
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2005-10-18 14:52:38 -0700
committerunknown <brian@zim.(none)>2005-10-18 14:52:38 -0700
commit8701728f17d1e435cb8c9dbb997728b002e6d9b4 (patch)
treed35c29b82f6f0ce13afca8385af66fc079dc7813 /mysql-test/t/archive.test
parent0122ca60b8c07b9493fa453eb5e12a52234dd579 (diff)
downloadmariadb-git-8701728f17d1e435cb8c9dbb997728b002e6d9b4.tar.gz
Per a user request there is now support for "CHECK TABLE" where the table is an archive file.
mysql-test/r/archive.result: Result file for adding check table support mysql-test/t/archive.test: Simple test for check table. The additional select is added just to make sure the file is not destroyed. sql/ha_archive.cc: Updates for adding CHECK table support. is_crashed() now returns the state of the file. sql/ha_archive.h: Updates for adding CHECK table support
Diffstat (limited to 'mysql-test/t/archive.test')
-rw-r--r--mysql-test/t/archive.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/t/archive.test b/mysql-test/t/archive.test
index 4318525fe43..ac2061eeb0b 100644
--- a/mysql-test/t/archive.test
+++ b/mysql-test/t/archive.test
@@ -1339,8 +1339,12 @@ SELECT * FROM t2;
TRUNCATE TABLE t2;
SELECT * FROM t2;
+# Adding support for CHECK table
+CHECK TABLE t2;
+SELECT * FROM t2;
+
-# Just test syntax, we will never know if the out put is right or wrong
+# Just test syntax, we will never know if the output is right or wrong
# Must be the last test
INSERT DELAYED INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
#