diff options
author | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2006-12-22 09:29:28 +0400 |
---|---|---|
committer | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2006-12-22 09:29:28 +0400 |
commit | c872b005e2987ebc10db219c5ce8657441fe3533 (patch) | |
tree | ddd29b141c9a275f24f6361a13d2e0f413c8c5c5 /mysql-test/t/rpl_server_id2.test | |
parent | 6cf0571a97b9d9381c650b96e039c0c0aba955a5 (diff) | |
download | mariadb-git-c872b005e2987ebc10db219c5ce8657441fe3533.tar.gz |
Fix for bug #21976: Unnecessary warning with count(decimal)
We use val_int() calls (followed by null_value check) to determine
nullness in some Item_sum_count' and Item_sum_count_distinct' methods,
as a side effect we get extra warnings raised in the val_int().
Fix: use is_null() instead.
mysql-test/r/func_group.result:
Fix for bug #21976: Unnecessary warning with count(decimal)
- test result.
mysql-test/t/func_group.test:
Fix for bug #21976: Unnecessary warning with count(decimal)
- test case.
sql/item.h:
Fix for bug #21976: Unnecessary warning with count(decimal)
- comment adjusted.
sql/item_sum.cc:
Fix for bug #21976: Unnecessary warning with count(decimal)
- use is_null() to determine nullness.
Diffstat (limited to 'mysql-test/t/rpl_server_id2.test')
0 files changed, 0 insertions, 0 deletions