summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive.test
diff options
context:
space:
mode:
authorunknown <brian@zim.tangent.org>2006-02-15 00:59:24 -0800
committerunknown <brian@zim.tangent.org>2006-02-15 00:59:24 -0800
commitdac63fb8d23d465398c1e0aa68fa2a824275901a (patch)
tree91c55f33f09e313e9c741c10b5e617efe5fbc81d /mysql-test/t/archive.test
parent67c719fa7471a317123ed07cc71ddc63c96c54c5 (diff)
downloadmariadb-git-dac63fb8d23d465398c1e0aa68fa2a824275901a.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. mysql-test/r/archive.result: New results mysql-test/t/archive.test: Added test for flush tables, which will also let me confirm DELAYED INSERT. sql/ha_archive.cc: Adding new stat sql/ha_archive.h: Just extending SHARE
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;