mirror of https://github.com/MariaDB/server
Browse Source
Type_handler_xxx::Item_const_eq() can handle only non-NULL values. The code in Item_basic_value::eq() did not take this into account. Adding a test to detect three different combinations: - Both values are NULLs, return true. - Only one value is NULL, return false. - Both values are not NULL, call Type_handler::Item_const_eq() to check equality.bb-10.4-MDEV-22494
2 changed files with 62 additions and 2 deletions
Loading…
Reference in new issue