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

refactor execute_stage::handle_request

上级 d9972831
......@@ -161,14 +161,6 @@ void ExecuteStage::handle_request(common::StageEvent *event)
case SCF_DESC_TABLE: {
do_desc_table(sql_event);
} break;
}
}
switch (sql->flag) {
//case SCF_SELECT: { // select
// do_select(current_db, sql, exe_event->sql_event()->session_event());
// exe_event->done_immediate();
//} bre
case SCF_DROP_TABLE:
case SCF_DROP_INDEX:
......@@ -204,6 +196,7 @@ void ExecuteStage::handle_request(common::StageEvent *event)
LOG_ERROR("Unsupported command=%d\n", sql->flag);
}
}
}
}
void end_trx_if_need(Session *session, Trx *trx, bool all_right)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册