mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 16:55:31 +02:00
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:
parent
e1a722b2d3
commit
2b35fee8ab
4 changed files with 111 additions and 1 deletions
|
|
@ -1 +1,3 @@
|
|||
452a92d0-31-8wSzSfZi165fcGcXPA
|
||||
454a7ef8gdvE_ddMlJyghvOAkKPNOQ
|
||||
454f8960jsVT_kMKJtZ9OCgXoba0xQ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue