diff options
Diffstat (limited to 'mysql-test/main/key.test')
-rw-r--r-- | mysql-test/main/key.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/main/key.test b/mysql-test/main/key.test index 0695dc2eecb..ccaef163d08 100644 --- a/mysql-test/main/key.test +++ b/mysql-test/main/key.test @@ -555,6 +555,7 @@ INSERT INTO t1 (a, b) VALUES (1,1), (1,2), (1,3), (1,4), (1,5), (2,2), (2,3), (2,1), (3,1), (4,1), (4,2), (4,3), (4,4), (4,5), (4,6); +ANALYZE table t1; EXPLAIN SELECT 1 FROM t1 AS t1_outer WHERE (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12; SELECT 1 as RES FROM t1 AS t1_outer WHERE |