1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-07 17:42:39 +03:00
Files
mariadb/sql
unknown 3f355523ba fix for bug #1790:
"BIT_AND() result in GROUP BY different when SQL_BIG_RESULT used"

return value of BIT_AND changed to BIGINT SIGNED
Also the patch fixes another bug: when temporary table is in use and one of
values in group is NULL, BIT_AND always returns zero.
Fixed it to always skip null values.


mysql-test/r/func_group.result:
  bug #1790: test results fixed
sql/item_sum.cc:
  fix for bug #1790:
  update_field() rewritten to use add() and thus was moved
  to Item_sum_bit::update_field()
  Item_sum_bit::reset_field() was rewritten to take into account
  reset_bits.
sql/item_sum.h:
  fix for bug #1790:
  Item_sum::update_field() and Item_sum::reset_field() commented
  Item_sum_and changed to return BIGINT SIGNED
  Item_sum_and::update_field() and Item_sum_or::update_field)
  were replaced with generic Item_sum_bit::update_field()
2003-11-21 00:03:04 +03:00
..
2003-07-01 14:38:38 +03:00
2003-06-24 10:53:21 +05:00
2003-04-26 14:54:53 +03:00
2003-03-13 13:44:03 +01:00
2003-01-05 20:18:49 +02:00
2003-04-23 21:52:16 +03:00
2003-07-14 15:53:50 +03:00
2003-01-28 17:42:08 +01:00
2003-01-28 08:38:28 +02:00
2003-11-21 00:03:04 +03:00
2003-11-21 00:03:04 +03:00
2003-06-11 20:09:37 +05:00
2003-08-20 16:25:44 +03:00
2003-10-31 23:20:23 +01:00
2003-10-29 14:23:35 +01:00
2003-01-28 08:38:28 +02:00
2003-06-19 12:38:14 -04:00
2003-05-07 19:01:45 +03:00
2003-04-23 21:52:16 +03:00
2003-11-02 16:38:27 +02:00
2003-10-29 14:23:35 +01:00
2003-10-31 23:20:23 +01:00
2003-07-14 10:12:05 +03:00
2002-11-29 16:40:18 +02:00
2003-10-30 01:01:53 +02:00
2003-07-14 10:12:05 +03:00
2003-11-18 17:31:17 +01:00
2003-04-23 21:52:16 +03:00
2003-08-20 20:16:37 +03:00
2003-10-29 14:23:35 +01:00