summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive.test
diff options
context:
space:
mode:
authorunknown <brian@avenger.(none)>2004-12-09 01:48:07 -0800
committerunknown <brian@avenger.(none)>2004-12-09 01:48:07 -0800
commitb76b2e68a15fe8ed3ee66d56ccb2812f02c57446 (patch)
tree66f6f185076f7632561bb4c2c3857cbac4eda56c /mysql-test/t/archive.test
parent3a994c8a731b4c1cb15226eea2702cbebc12041f (diff)
downloadmariadb-git-b76b2e68a15fe8ed3ee66d56ccb2812f02c57446.tar.gz
A few simple fixes plus the added support of being able to repair the meta data file via REPAIR TABLE. More information is now provided in SHOW TABLE STATUS.
mysql-test/r/archive.result: Added REPAIR TABLE test mysql-test/t/archive.test: Added REPAIR TABLE tests. sql/examples/ha_archive.cc: Added additional code to show more information during a SHOW TABLE STATUS. Curren size of the compressed file is now shown. Also added global "crashed" flag to mark when a table is crashed. Removed autorebuild during open table. Removed a few unneeded actions in OPTIMIZE TABLE. Fixed DBUG_ENTER for end_build_insert(). sql/examples/ha_archive.h: Added repair options
Diffstat (limited to 'mysql-test/t/archive.test')
-rw-r--r--mysql-test/t/archive.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/archive.test b/mysql-test/t/archive.test
index e710de7b35e..8cf54610914 100644
--- a/mysql-test/t/archive.test
+++ b/mysql-test/t/archive.test
@@ -1299,6 +1299,8 @@ INSERT INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
SELECT * FROM t2;
OPTIMIZE TABLE t2;
SELECT * FROM t2;
+REPAIR TABLE t2;
+SELECT * FROM t2;
#
# Test bulk inserts