Ps bug repair about add literal_stmt_type_ in PsStmtInfo and check -0.0 in double_cell_str

This commit is contained in:
obdev
2023-08-18 10:40:28 +00:00
committed by ob-robot
parent a25829676b
commit 8f90d2a042
4 changed files with 14 additions and 2 deletions

View File

@ -282,7 +282,8 @@ ObPsStmtInfo::ObPsStmtInfo(ObIAllocator *inner_allocator)
is_sensitive_sql_(false),
raw_sql_(),
raw_params_(inner_allocator),
raw_params_idx_(inner_allocator)
raw_params_idx_(inner_allocator),
literal_stmt_type_(stmt::T_NONE)
{
}
@ -310,7 +311,8 @@ ObPsStmtInfo::ObPsStmtInfo(ObIAllocator *inner_allocator,
is_sensitive_sql_(false),
raw_sql_(),
raw_params_(inner_allocator),
raw_params_idx_(inner_allocator)
raw_params_idx_(inner_allocator),
literal_stmt_type_(stmt::T_NONE)
{
}
@ -455,6 +457,7 @@ int ObPsStmtInfo::deep_copy(const ObPsStmtInfo &other)
tenant_version_ = other.tenant_version_;
is_expired_ = other.is_expired_;
is_expired_evicted_ = other.is_expired_evicted_;
literal_stmt_type_ = other.literal_stmt_type_;
if (other.get_dep_objs_cnt() > 0) {
dep_objs_cnt_ = other.get_dep_objs_cnt();
if (NULL == (dep_objs_ = reinterpret_cast<ObSchemaObjVersion *>