Skip to content

Commit

Permalink
Handle new Null type (vesoft-inc#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-ding authored Aug 6, 2020
1 parent f67ae2d commit 382b3b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/IndexKeyUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ Status IndexKeyUtils::checkValue(const Value& v, bool isNullable) {
case nebula::NullType::NaN : {
return Status::Error("NaN");
}
case nebula::NullType::OUT_OF_RANGE : {
return Status::Error("Out of range");
}
}
return Status::OK();
}
Expand Down

0 comments on commit 382b3b5

Please sign in to comment.