diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-04-09 19:07:39 +0500 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-04-09 19:07:39 +0500 |
commit | 5dcbf248a0a0e23ec9461793fcfb3a201a17b61a (patch) | |
tree | 8c2c891bc3a34c13cfda6589cbbfea8655523fa5 /mysql-test/r/func_group.result | |
parent | a5d016ecb4e495efde82a6f0484c51bc2d0fa842 (diff) | |
download | mariadb-git-5dcbf248a0a0e23ec9461793fcfb3a201a17b61a.tar.gz |
A fix. (Bug #3376: AVG(constant) returns constant if no rows in result set)
Diffstat (limited to 'mysql-test/r/func_group.result')
-rw-r--r-- | mysql-test/r/func_group.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/func_group.result b/mysql-test/r/func_group.result index 99c42bb83cf..ef29d0f2f5b 100644 --- a/mysql-test/r/func_group.result +++ b/mysql-test/r/func_group.result @@ -256,3 +256,8 @@ bit_and(col) bit_or(col) 18446744073709551614 18446744073709551614 18446744073709551615 18446744073709551615 drop table t1; +create table t1 (a int); +select avg(2) from t1; +avg(2) +NULL +drop table t1; |