Add aarch64 el8 deps configuration
This commit is contained in:
committed by
LINxiansheng
parent
88693a523a
commit
fcc0cea109
2
deps/oblib/src/lib/json_type/ob_json_bin.cpp
vendored
2
deps/oblib/src/lib/json_type/ob_json_bin.cpp
vendored
@ -650,7 +650,7 @@ int ObJsonBin::serialize_json_value(ObJsonNode *json_tree, ObJsonBuffer &result)
|
||||
case ObJsonNodeType::J_DOUBLE: {
|
||||
const ObJsonDouble *d = static_cast<const ObJsonDouble*>(json_tree);
|
||||
double value = d->value();
|
||||
if (isnan(value) || isinf(value)) {
|
||||
if (std::isnan(value) || std::isinf(value)) {
|
||||
ret = OB_INVALID_NUMERIC;
|
||||
LOG_WARN("invalid double value", K(ret), K(value));
|
||||
} else if (OB_FAIL(result.append(reinterpret_cast<const char*>(&value), sizeof(double)))) {
|
||||
|
||||
Reference in New Issue
Block a user