summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_server_id2.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2006-12-22 09:29:28 +0400
committerunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2006-12-22 09:29:28 +0400
commitc872b005e2987ebc10db219c5ce8657441fe3533 (patch)
treeddd29b141c9a275f24f6361a13d2e0f413c8c5c5 /mysql-test/t/rpl_server_id2.test
parent6cf0571a97b9d9381c650b96e039c0c0aba955a5 (diff)
downloadmariadb-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