diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-03-16 13:43:06 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-03-16 13:43:06 +0400 |
commit | 9b53d84d14a9b031d193f6beae382a232aa738e3 (patch) | |
tree | 05c7182671a394d86b55718a54140ac16146b66a /mysql-test/r/func_group.result | |
parent | d5d0c35f23c54c3ddddaebfeaa77ad80439f0ebd (diff) | |
download | mariadb-git-9b53d84d14a9b031d193f6beae382a232aa738e3.tar.gz |
MDEV-9656 Assertion `0' failed in Item_sum_field::get_tmp_table_field().
Removing a wrong ASSERT. Item_sum_field now uses the inherited
Item::get_tmp_table_field().
Diffstat (limited to 'mysql-test/r/func_group.result')
-rw-r--r-- | mysql-test/r/func_group.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/func_group.result b/mysql-test/r/func_group.result index 659580059b5..0d9d4ffff9f 100644 --- a/mysql-test/r/func_group.result +++ b/mysql-test/r/func_group.result @@ -2298,6 +2298,15 @@ id avg cast_avg 2 9223372036854775807.0000 9223372036854775807 DROP TABLE t1; # +# MDEV-9656 Assertion `0' failed in Item_sum_field::get_tmp_table_field() +# +CREATE TABLE t1 (i INT); +INSERT INTO t1 VALUES (1),(2); +SELECT DISTINCT VAR_POP(1) FROM t1 GROUP BY @a := 's'; +VAR_POP(1) +0.0000 +DROP TABLE t1; +# # MDEV-8921 Wrong result for CAST(AVG(double_column) AS SIGNED) # CREATE TABLE t1 (id INT, a DOUBLE); |