mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Fixed benchmarks and compare of NULL with <>
Docs/manual.texi: Update for release include/config-win.h: Fixed typo sql-bench/test-insert.sh: Fixed that the new tests works with --fast sql/item_cmpfunc.cc: Fix of NULL values with '<>'
This commit is contained in:
parent
2ad8320b97
commit
ae687f8150
4 changed files with 12 additions and 2 deletions
|
|
@ -185,7 +185,7 @@ longlong Item_func_equal::val_int()
|
|||
longlong Item_func_ne::val_int()
|
||||
{
|
||||
int value=(this->*cmp_func)();
|
||||
return value != 0 ? 1 : 0;
|
||||
return value != 0 && !null_value ? 1 : 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue