In tests, fixed warning: comparing floating point with == or != is unsafe. The warning is still reported for is_infinity_or_nan() in MySQL backend, see relevant comment in mysql/common.h