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

Update resolve_stage.cpp

remove unused variable
上级 ee5b3ebf
...@@ -26,7 +26,6 @@ See the Mulan PSL v2 for more details. */ ...@@ -26,7 +26,6 @@ See the Mulan PSL v2 for more details. */
#include "event/session_event.h" #include "event/session_event.h"
#include "session/session.h" #include "session/session.h"
#include "sql/stmt/stmt.h" #include "sql/stmt/stmt.h"
#include "storage/default/default_handler.h"
using namespace common; using namespace common;
...@@ -96,7 +95,6 @@ void ResolveStage::handle_event(StageEvent *event) ...@@ -96,7 +95,6 @@ void ResolveStage::handle_event(StageEvent *event)
SessionEvent *session_event = sql_event->session_event(); SessionEvent *session_event = sql_event->session_event();
DefaultHandler &handler = DefaultHandler::get_default();
Db *db = session_event->session()->get_current_db(); Db *db = session_event->session()->get_current_db();
if (nullptr == db) { if (nullptr == db) {
LOG_ERROR("cannot current db"); LOG_ERROR("cannot current db");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册