summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive.test
diff options
context:
space:
mode:
authorbrian@zim.tangent.org <>2006-02-15 00:59:24 -0800
committerbrian@zim.tangent.org <>2006-02-15 00:59:24 -0800
commitd56430423aaeae64b5c221d43964f7a602ec4698 (patch)
tree91c55f33f09e313e9c741c10b5e617efe5fbc81d /mysql-test/t/archive.test
parente7c73bb75429bd52a99185d6ffec1370a9823d44 (diff)
downloadmariadb-git-d56430423aaeae64b5c221d43964f7a602ec4698.tar.gz
This patch adds a new field to the meta file for tracking flushes (this is being kept to later do stats and determine how often the compression buffer is being foiled). This should keep things all nice an compatible between versions.
Also added a flush table test as well. Found one possible bug in OPTIMIZE TABLE which has never been reported, but I think it would be possible on a file system that ran out of disk.
Diffstat (limited to 'mysql-test/t/archive.test')
-rw-r--r--mysql-test/t/archive.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/t/archive.test b/mysql-test/t/archive.test
index 68e3192e8a4..535402c2e13 100644
--- a/mysql-test/t/archive.test
+++ b/mysql-test/t/archive.test
@@ -1344,9 +1344,11 @@ CHECK TABLE t2;
SELECT * FROM t2;
-# Just test syntax, we will never know if the output is right or wrong
-# Must be the last test
+# We won't know exactly about what is going on internally,
+# but we will see if the row makes it in!!
INSERT DELAYED INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
+FLUSH TABLE t2;
+SELECT * FROM t2;
# Adding test for alter table
ALTER TABLE t2 DROP COLUMN fld6;