diff options
author | bell@sanja.is.com.ua <> | 2003-12-04 23:57:10 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2003-12-04 23:57:10 +0200 |
commit | ccb07a4fbbd0c6b82e095a2f8d557eceafb275e9 (patch) | |
tree | 6b64ebf3494971d1dc96d2ec0b30bfc46e082bcd /mysql-test/t/query_cache.test | |
parent | 84acc2054f22cf0835a5cc744cf2343c69433d0e (diff) | |
download | mariadb-git-ccb07a4fbbd0c6b82e095a2f8d557eceafb275e9.tar.gz |
fixed length of current database name if it is dropped (BUG#1986)
Diffstat (limited to 'mysql-test/t/query_cache.test')
-rw-r--r-- | mysql-test/t/query_cache.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/query_cache.test b/mysql-test/t/query_cache.test index 14cbf4c906d..a7f28bfb5b6 100644 --- a/mysql-test/t/query_cache.test +++ b/mysql-test/t/query_cache.test @@ -585,4 +585,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; |