diff options
author | Sergey Glukhov <sergey.glukhov@oracle.com> | 2011-04-12 14:13:15 +0400 |
---|---|---|
committer | Sergey Glukhov <sergey.glukhov@oracle.com> | 2011-04-12 14:13:15 +0400 |
commit | bdefd2ad3b9af5b71fc33568958ebfde15df7796 (patch) | |
tree | ef8dbbf74c04cf68e31aaa9fe923b6003c08084d /mysql-test/t/func_group.test | |
parent | 13460bd2f97a9502f37138f80fde2cdfda633b92 (diff) | |
parent | 7fa7a0cad95b0c8cc4f7f450f7f3411fa632b148 (diff) | |
download | mariadb-git-bdefd2ad3b9af5b71fc33568958ebfde15df7796.tar.gz |
5.1 -> 5.5 merge
Diffstat (limited to 'mysql-test/t/func_group.test')
-rw-r--r-- | mysql-test/t/func_group.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test index 1c25a5bf8c7..e8309d68830 100644 --- a/mysql-test/t/func_group.test +++ b/mysql-test/t/func_group.test @@ -1128,6 +1128,18 @@ SELECT MAX(LENGTH(a)), LENGTH(MAX(a)), MIN(a), MAX(a), CONCAT(MIN(a)), CONCAT(MA DROP TABLE t1; --echo # +--echo # Bug #11766270 59343: YEAR(4): INCORRECT RESULT AND VALGRIND WARNINGS WITH MIN/MAX, UNION +--echo # + +CREATE TABLE t1(f1 YEAR(4)); +INSERT INTO t1 VALUES (0000),(2001); +--enable_metadata +(SELECT MAX(f1) FROM t1) UNION (SELECT MAX(f1) FROM t1); +--disable_metadata +DROP TABLE t1; + + +--echo # --echo End of 5.1 tests ### |