summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2013-01-19 23:40:53 -0800
committerIgor Babaev <igor@askmonty.org>2013-01-19 23:40:53 -0800
commit02d368ff9d2e5121ed27c221d9bfd2b3792177a3 (patch)
tree561e15abe1551b572f8d9b84df26078ee091b868
parent63afbba419fcf9fe1fd2acb3355c112453c15a66 (diff)
downloadmariadb-git-02d368ff9d2e5121ed27c221d9bfd2b3792177a3.tar.gz
Corrected the test case for bug mdev-3938.
-rw-r--r--mysql-test/suite/vcol/r/vcol_misc.result1
-rw-r--r--mysql-test/suite/vcol/t/vcol_misc.test2
2 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/vcol/r/vcol_misc.result b/mysql-test/suite/vcol/r/vcol_misc.result
index f679d5eb671..4c301795f5c 100644
--- a/mysql-test/suite/vcol/r/vcol_misc.result
+++ b/mysql-test/suite/vcol/r/vcol_misc.result
@@ -188,6 +188,7 @@ tsv TIMESTAMP AS (ADDDATE(ts, INTERVAL 1 DAY)) VIRTUAL
) ENGINE=MyISAM;
INSERT INTO t1 (tsv) VALUES (DEFAULT);
INSERT DELAYED INTO t1 (tsv) VALUES (DEFAULT);
+FLUSH TABLES;
SELECT COUNT(*) FROM t1;
COUNT(*)
2
diff --git a/mysql-test/suite/vcol/t/vcol_misc.test b/mysql-test/suite/vcol/t/vcol_misc.test
index 53c04898648..0a689795b4c 100644
--- a/mysql-test/suite/vcol/t/vcol_misc.test
+++ b/mysql-test/suite/vcol/t/vcol_misc.test
@@ -192,6 +192,8 @@ INSERT INTO t1 (tsv) VALUES (DEFAULT);
INSERT DELAYED INTO t1 (tsv) VALUES (DEFAULT);
+FLUSH TABLES;
+
SELECT COUNT(*) FROM t1;
DROP TABLE t1;