From 3a211af9276b7e42d917de99b6df92f752c1298b Mon Sep 17 00:00:00 2001 From: hnwyllmm Date: Wed, 13 Jul 2022 13:10:33 +0800 Subject: [PATCH] Update resolve_stage.cpp remove unused variable --- src/observer/sql/parser/resolve_stage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/observer/sql/parser/resolve_stage.cpp b/src/observer/sql/parser/resolve_stage.cpp index d70b905..fa3f8d3 100644 --- a/src/observer/sql/parser/resolve_stage.cpp +++ b/src/observer/sql/parser/resolve_stage.cpp @@ -26,7 +26,6 @@ See the Mulan PSL v2 for more details. */ #include "event/session_event.h" #include "session/session.h" #include "sql/stmt/stmt.h" -#include "storage/default/default_handler.h" using namespace common; @@ -96,7 +95,6 @@ void ResolveStage::handle_event(StageEvent *event) SessionEvent *session_event = sql_event->session_event(); - DefaultHandler &handler = DefaultHandler::get_default(); Db *db = session_event->session()->get_current_db(); if (nullptr == db) { LOG_ERROR("cannot current db"); -- GitLab