summaryrefslogtreecommitdiff
path: root/mysql-test/t/query_cache.test
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-01-17 10:02:01 +0200
committerunknown <bell@sanja.is.com.ua>2004-01-17 10:02:01 +0200
commite0bd7faf5bc2845f49f60d067579a20092bf62b6 (patch)
treed280a2988c0e2b39555dbdb6b26e22103205af71 /mysql-test/t/query_cache.test
parentd5191e8026c75f5e8a6228bae720a5456a3e347d (diff)
parent8c75a406722c41ac12adeefa60543d27d7460734 (diff)
downloadmariadb-git-e0bd7faf5bc2845f49f60d067579a20092bf62b6.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-drop-4.1 mysql-test/r/query_cache.result: Auto merged mysql-test/t/query_cache.test: Auto merged sql/sql_db.cc: Auto merged
Diffstat (limited to 'mysql-test/t/query_cache.test')
-rw-r--r--mysql-test/t/query_cache.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/query_cache.test b/mysql-test/t/query_cache.test
index d7681e9c2ec..dba5619b777 100644
--- a/mysql-test/t/query_cache.test
+++ b/mysql-test/t/query_cache.test
@@ -589,4 +589,17 @@ show status like "Qcache_queries_in_cache";
# Keep things tidy
#
DROP TABLE t1;
+
+#
+# DROP current database test
+#
+CREATE TABLE t1 (a int(1));
+CREATE DATABASE mysqltest;
+USE mysqltest;
+DROP DATABASE mysqltest;
+SELECT * FROM test.t1;
+USE test;
+DROP TABLE t1;
+
+
SET GLOBAL query_cache_size=0;