Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Mar 24, 2023
1 parent e372ddd commit 44c497f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/datatypes/Value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ Value Value::lessThan(const Value& v) const {

Value Value::equal(const Value& v) const {
if (empty() || v.empty()) {
return Value::kNullValue;
return (isNull() || v.isNull()) ? Value::kNullValue : false;
}
auto vType = v.type();
auto hasNull = (type_ | vType) & Value::Type::NULLVALUE;
Expand Down
6 changes: 5 additions & 1 deletion tests/tck/features/ttl/TTL.feature
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,16 @@ Feature: TTLTest
"""
Then the result should be, in any order:
| like.id |
| EMPTY |
| EMPTY |
When executing query:
"""
FETCH PROP ON like "100"->"1","100"->"2" YIELD like.id AS id;
"""
Then the result should be, in any order:
| id |
| id |
| EMPTY |
| EMPTY |
And drop the used space

Scenario: TTLTest expire time
Expand Down

0 comments on commit 44c497f

Please sign in to comment.