diff options
author | unknown <sanja@askmonty.org> | 2011-05-10 23:20:35 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2011-05-10 23:20:35 +0300 |
commit | 4aa1ad2b6d5936434c7ef034a5d64fe8f006e750 (patch) | |
tree | f3207a9b600e1355a5700611a11ffd29d692ebb3 /mysql-test/t/explain.test | |
parent | a55b1165d2d1bb5711e34649723fcd448672e4d9 (diff) | |
parent | f9b3f94b5d5cd5facf98c02b28a41783cc4f2dfe (diff) | |
download | mariadb-git-4aa1ad2b6d5936434c7ef034a5d64fe8f006e750.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/explain.test')
-rw-r--r-- | mysql-test/t/explain.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/t/explain.test b/mysql-test/t/explain.test index 8380aa668b0..1cfd78143c7 100644 --- a/mysql-test/t/explain.test +++ b/mysql-test/t/explain.test @@ -158,7 +158,10 @@ SELECT @@session.sql_mode INTO @old_sql_mode; SET SESSION sql_mode='ONLY_FULL_GROUP_BY'; # EXPLAIN EXTENDED (with subselect). used to crash. should give NOTICE. ---error ER_MIX_OF_GROUP_FUNC_AND_FIELDS +# Before moving max/min optimization to optimize phase this statement +# generated error, but as far as original query do not contain aggregate +# function user should not see error +# --error ER_MIX_OF_GROUP_FUNC_AND_FIELDS EXPLAIN EXTENDED SELECT 1 FROM t1 WHERE f1 > ALL( SELECT t.f1 FROM t1,t1 AS t ); SHOW WARNINGS; |