summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil@mysql.com>2008-09-09 20:05:27 +0500
committerRamil Kalimullin <ramil@mysql.com>2008-09-09 20:05:27 +0500
commit776793a97c97c4e2b2c7a6a2870696c147eb235c (patch)
tree644e2319ec4acc58e9fd5037dd7a176fef6ff9dd /myisam
parent788be2aebdb0bce63b45b1fecf2f2d8a12a5cfc7 (diff)
downloadmariadb-git-776793a97c97c4e2b2c7a6a2870696c147eb235c.tar.gz
Fix for bug#37526: asymertic operator <=> in trigger
Problem: <=> operator may return wrong results comparing NULL and a DATE/DATETIME/TIME value. Fix: properly check NULLs. mysql-test/r/type_datetime.result: Fix for bug#37526: asymertic operator <=> in trigger - test result. mysql-test/t/type_datetime.test: Fix for bug#37526: asymertic operator <=> in trigger - test case. sql/item_cmpfunc.cc: Fix for bug#37526: asymertic operator <=> in trigger - if is_nulls_eq is TRUE Arg_comparator::compare_datetime() should return 1 only if both arguments are NULL.
Diffstat (limited to 'myisam')
0 files changed, 0 insertions, 0 deletions