Skip to content

Commit

Permalink
略微修改逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmttt000045 authored and Kosthi committed Oct 5, 2024
1 parent e327861 commit 07ddfea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/observer/sql/expr/expression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ RC ComparisonExpr::get_value(const Tuple &tuple, Value &value)

// Get the value of the left expression
rc = left_->get_value(tuple, left_value);
if (rc != RC::SUCCESS) {
if (rc != RC::SUCCESS && rc != RC::RECORD_EOF) {
LOG_WARN("failed to get value of left expression. rc=%s", strrc(rc));
return rc;
}
Expand Down Expand Up @@ -301,7 +301,7 @@ RC ComparisonExpr::get_value(const Tuple &tuple, Value &value)

// Get the value of the right expression
rc = right_->get_value(tuple, right_value);
if (rc != RC::SUCCESS) {
if (rc != RC::SUCCESS && rc != RC::RECORD_EOF) {
LOG_WARN("failed to get value of right expression. rc=%s", strrc(rc));
return rc;
}
Expand Down

0 comments on commit 07ddfea

Please sign in to comment.