Fix create view and alter generated column bugs

This commit is contained in:
2149
2023-08-10 09:42:26 +00:00
committed by ob-robot
parent b49c3559a2
commit b66dd1ebf2
15 changed files with 135 additions and 28 deletions

View File

@ -1559,7 +1559,8 @@ struct ObResolveContext
is_for_dynamic_sql_(false),
is_for_dbms_sql_(false),
tg_timing_event_(TG_TIMING_EVENT_INVALID),
view_ref_id_(OB_INVALID_ID)
view_ref_id_(OB_INVALID_ID),
is_variable_allowed_(true)
{
}
@ -1604,6 +1605,7 @@ struct ObResolveContext
bool is_for_dbms_sql_;
TgTimingEvent tg_timing_event_; // for msyql trigger
uint64_t view_ref_id_;
bool is_variable_allowed_;
};
typedef ObResolveContext<ObRawExprFactory> ObExprResolveContext;