summaryrefslogtreecommitdiff
path: root/mysql-test/t/query_cache.test
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2005-12-02 19:42:14 +0300
committerunknown <evgen@moonbone.local>2005-12-02 19:42:14 +0300
commit2a5e527e99eab4ef3f20bf253916a51444fb871c (patch)
treea6023835c30a5415c611dcc261d8e62e186230a2 /mysql-test/t/query_cache.test
parent3b94510a4a3fd48d2f118ced5be5bcbd01d6a1d3 (diff)
parent7368605c72930f63ae9b937dfc2a932c5ef700c2 (diff)
downloadmariadb-git-2a5e527e99eab4ef3f20bf253916a51444fb871c.tar.gz
Manually merged
mysql-test/r/update.result: Auto merged mysql-test/t/update.test: Auto merged ndb/src/kernel/blocks/backup/Backup.cpp: Auto merged sql/sql_update.cc: Auto merged
Diffstat (limited to 'mysql-test/t/query_cache.test')
-rw-r--r--mysql-test/t/query_cache.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/query_cache.test b/mysql-test/t/query_cache.test
index 646151a5aae..ef35296f07d 100644
--- a/mysql-test/t/query_cache.test
+++ b/mysql-test/t/query_cache.test
@@ -743,6 +743,20 @@ show status like "Qcache_hits";
drop table t1;
#
+# BUG#14652: Queries with leading '(' characters.
+#
+create table t1 (a int);
+flush status;
+(select a from t1) union (select a from t1);
+show status like "Qcache_queries_in_cache";
+show status like "Qcache_inserts";
+show status like "Qcache_hits";
+(select a from t1) union (select a from t1);
+show status like "Qcache_queries_in_cache";
+show status like "Qcache_inserts";
+show status like "Qcache_hits";
+drop table t1;
+
# SP cursors and selects with query cache (BUG#9715)
#
create table t1 (a int);