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:
unknown 2000-10-17 23:57:26 +03:00
commit ae687f8150
4 changed files with 12 additions and 2 deletions

View file

@ -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;
}