[FEAT MERGE]4_1_sql_feature

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: raywill <hustos@gmail.com>
This commit is contained in:
obdev
2023-01-28 16:01:26 +08:00
committed by ob-robot
parent 3080f2b66f
commit 2d19a9d8f5
846 changed files with 161957 additions and 116661 deletions

View File

@ -60,6 +60,7 @@ class ObSPIService;
class ObIVirtualTableIteratorFactory;
struct ObSqlCtx;
class ObResultSet;
class ObLogPlan;
class ObPlanBaseKeyGuard
{
@ -372,6 +373,15 @@ private:
const PlanCacheMode mode = PC_INVALID_MODE,
ParseResult *outline_parse_result = NULL);
int generate_plan(ParseResult &parse_result,
ObPlanCacheCtx *pc_ctx,
ObSqlCtx &sql_ctx,
ObResultSet &result,
const PlanCacheMode mode,
ObStmt *basic_stmt,
ObStmtNeedPrivs &stmt_need_privs,
ObStmtOraNeedPrivs &stmt_ora_need_privs);
//generate physical_plan
static int code_generate(ObSqlCtx &sql_ctx,
ObResultSet &result,
@ -382,6 +392,9 @@ private:
ObLogPlan *logical_plan,
ObPhysicalPlan *&phy_plan);
int prepare_outline_for_phy_plan(ObLogPlan *logical_plan,
ObPhysicalPlan *phy_plan);
int sanity_check(ObSqlCtx &context);
int init_exec_context(const ObSqlCtx &context, ObExecContext &exec_ctx);