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

fix no return while syntax error

上级 ef43cea5
......@@ -89,14 +89,14 @@ void ParseStage::handle_event(StageEvent *event)
RC rc = handle_request(event);
if (RC::SUCCESS != rc) {
event->done_immediate();
callback_event(event, nullptr);
return;
}
CompletionCallback *cb = new (std::nothrow) CompletionCallback(this, nullptr);
if (cb == nullptr) {
LOG_ERROR("Failed to new callback for SQLStageEvent");
event->done_immediate();
callback_event(event, nullptr);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册