This commit is contained in:
chenhuiming
2023-04-13 16:25:00 +08:00
parent d624f1b3f2
commit 4a35ecd899
8 changed files with 13 additions and 13 deletions

View File

@ -159,7 +159,7 @@ extern ObRawExpr *USELESS_POINTER;
#define IS_SPATIAL_EXPR(op) \
((op) >= T_FUN_SYS_ST_LONGITUDE && (op) <= T_FUN_SYS_ST_LATITUDE)
// ObSqlBitSet is a simple bitset, in order to avoid memory explosure
// ObSqlBitSet is a simple bitset, in order to avoid memory exposure
// ObBitSet is too large just for a simple bitset
const static int64_t DEFAULT_SQL_BITSET_SIZE = 32;
template<int64_t N = DEFAULT_SQL_BITSET_SIZE,
@ -202,7 +202,7 @@ public:
int ret = OB_SUCCESS;
if (!other.is_valid()) {
desc_.init_errcode_ = other.desc_.init_errcode_;
SQL_RESV_LOG(WARN, "other not intied", K(other.desc_.init_errcode_));
SQL_RESV_LOG(WARN, "other not initied", K(other.desc_.init_errcode_));
} else if (OB_FAIL(init_block_allocator())) {
desc_.init_errcode_ = ret;
SQL_RESV_LOG(WARN, "failed to init block allocator", K(ret));
@ -1608,7 +1608,7 @@ struct ObResolveContext
bool is_for_pivot_;
bool is_for_dynamic_sql_;
bool is_for_dbms_sql_;
TgTimingEvent tg_timing_event_; // for msyql trigger
TgTimingEvent tg_timing_event_; // for mysql trigger
uint64_t view_ref_id_;
bool is_variable_allowed_;
};
@ -3331,7 +3331,7 @@ private:
//use for udf function info
share::schema::ObUDFMeta udf_meta_;
bool is_nested_aggr_;
bool is_need_deserialize_row_;// for topk histogram and hybrid histogram computaion
bool is_need_deserialize_row_;// for topk histogram and hybrid histogram computation
ObRawExpr *pl_agg_udf_expr_;//for pl agg udf expr
};
@ -4674,7 +4674,7 @@ public:
SQL_RESV_LOG(WARN, "failed to check stack overflow", K(ret));
} else if (is_overflow) {
ret = OB_SIZE_OVERFLOW;
SQL_RESV_LOG(WARN, "too deep recusive", K(ret));
SQL_RESV_LOG(WARN, "too deep recursive", K(ret));
} else if (OB_FAIL(proxy_->create_raw_expr(expr_type, raw_expr))) {
SQL_RESV_LOG(WARN, "failed to create raw expr by pl factory", K(ret));
} else {

View File

@ -377,7 +377,7 @@ int ObRawExprDeduceType::calc_result_type(ObNonTerminalRawExpr &expr,
// 以防calc_result_typeX没有对其进行设置
// 理想情况下,不应该要这个循环,所有calc_type的设置都在calc_result_typeX中完成
// For avg(), internally it will call 'divison', which requires that both input are
// For avg(), internally it will call 'division', which requires that both input are
// casted into number. However, this requirements are not remembered in the input_types
// for the avg() expression but as the calc_type for the input expression itself. This
// demands that we set the calculation type here.

View File

@ -167,7 +167,7 @@ private:
char *buf_;
int64_t buf_len_;
// avoid to update pos_ between different printers(mainly ObRawExprPrinter
// and ObSelectStmtPrinter), we definate pointer of pos_ rather than object
// and ObSelectStmtPrinter), we definite pointer of pos_ rather than object
int64_t *pos_;
ObStmtScope scope_;
bool only_column_namespace_;