summaryrefslogtreecommitdiff
path: root/mysql-test/t/query_cache.test
diff options
context:
space:
mode:
authorMartin Hansson <martin.hansson@sun.com>2009-11-20 13:29:43 +0100
committerMartin Hansson <martin.hansson@sun.com>2009-11-20 13:29:43 +0100
commitca595821498d6a547fa1780df86cdf127b0019b3 (patch)
treefabb9c5fa11cdf96ecdc1297561875b1a58090ed /mysql-test/t/query_cache.test
parentb4a3083dc8b8049e64692ffc8e6e527914fb93da (diff)
parent4205c622e1a741bae1b2d8d213342f8e0bdd936a (diff)
downloadmariadb-git-ca595821498d6a547fa1780df86cdf127b0019b3.tar.gz
merge of Bug#33204 (backport)
Diffstat (limited to 'mysql-test/t/query_cache.test')
-rw-r--r--mysql-test/t/query_cache.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/query_cache.test b/mysql-test/t/query_cache.test
index 7841e7274dd..0edc9cca385 100644
--- a/mysql-test/t/query_cache.test
+++ b/mysql-test/t/query_cache.test
@@ -1294,7 +1294,7 @@ SET GLOBAL query_cache_size= default;
# Bug #31157: Crash when select+order by the avg of some field within the
# group by
#
-
+SET GLOBAL query_cache_size=1024*1024*512;
CREATE TABLE t1 (a ENUM('rainbow'));
INSERT INTO t1 VALUES (),(),(),(),();
SELECT 1 FROM t1 GROUP BY (SELECT 1 FROM t1 ORDER BY AVG(LAST_INSERT_ID()));
@@ -1305,6 +1305,7 @@ INSERT INTO t1 SET a = 'aaaa';
SELECT 1 FROM t1 GROUP BY
(SELECT LAST_INSERT_ID() FROM t1 ORDER BY MIN(a) ASC LIMIT 1);
DROP TABLE t1;
+SET GLOBAL query_cache_size= default;
--echo End of 5.1 tests