提交 ee5b3ebf 编写于 作者: 羽飞's avatar 羽飞

Update resolve_stage.cpp

set response to failure while resolve failed
上级 1c40013d
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册