diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-10-21 12:57:33 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-10-21 12:57:33 +0200 |
commit | 9ef69958c5f9c0078b6e440cc2730c459d40964f (patch) | |
tree | f0b0fae716640619475cf5f3d5363d0ca84f609e /mysql-test/t/group_min_max.test | |
parent | 6e7a37d3e8fc1f32c382dae143eb091be1eb1e8f (diff) | |
parent | 37b6043070ebed97158c4ef9e3c8534a8c23c860 (diff) | |
download | mariadb-git-9ef69958c5f9c0078b6e440cc2730c459d40964f.tar.gz |
Merge
Diffstat (limited to 'mysql-test/t/group_min_max.test')
-rw-r--r-- | mysql-test/t/group_min_max.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/group_min_max.test b/mysql-test/t/group_min_max.test index 981be3efece..c09a4fbf490 100644 --- a/mysql-test/t/group_min_max.test +++ b/mysql-test/t/group_min_max.test @@ -1018,3 +1018,18 @@ DROP TABLE t; --echo End of 5.0 tests + +--echo # +--echo # Bug #46607: Assertion failed: (cond_type == Item::FUNC_ITEM) results in +--echo # server crash +--echo # + +CREATE TABLE t (a INT, b INT, INDEX (a,b)); +INSERT INTO t VALUES (2,0), (2,0), (2,1), (2,1); +INSERT INTO t SELECT * FROM t; + +SELECT a, MAX(b) FROM t WHERE b GROUP BY a; + +DROP TABLE t; + +--echo End of 5.1 tests |