Bug#23411: ... MOD-ing zero returns strange result

The Item_func_mod objects never had maybe_null set, so users had no reason 
to expect that they can be NULL, and may therefore deduce wrong results.
Now, set maybe_null.


mysql-test/r/func_test.result:
  Verify that the predictions are true.
mysql-test/t/func_test.test:
  Verify that the predictions are true.
sql/item_func.cc:
  MOD functions may be NULL.
This commit is contained in:
unknown 2006-11-06 17:13:19 -05:00
commit 2b35fee8ab
4 changed files with 111 additions and 1 deletions

View file

@ -1 +1,3 @@
452a92d0-31-8wSzSfZi165fcGcXPA
454a7ef8gdvE_ddMlJyghvOAkKPNOQ
454f8960jsVT_kMKJtZ9OCgXoba0xQ