Skip to content

Commit

Permalink
Update resolve_stage.cpp
Browse files Browse the repository at this point in the history
set response to failure while resolve failed
  • Loading branch information
hnwyllmm committed Jul 13, 2022
1 parent 1c40013 commit ee5b3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/observer/sql/parser/resolve_stage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void ResolveStage::handle_event(StageEvent *event)
RC rc = Stmt::create_stmt(db, *query, stmt);
if (rc != RC::SUCCESS && rc != RC::UNIMPLENMENT) {
LOG_WARN("failed to create stmt. rc=%d:%s", rc, strrc(rc));
session_event->set_response(strrc(rc));
session_event->set_response("FAILURE\n");
return;
}

Expand Down

0 comments on commit ee5b3eb

Please sign in to comment.