[CP] add serialization size check
This commit is contained in:
@ -1235,6 +1235,7 @@ struct ObSerCArray
|
||||
ObSerCArray(T &data, U &cnt) : data_(data), cnt_(cnt) {}
|
||||
T &data_;
|
||||
U &cnt_;
|
||||
TO_STRING_KV(K(cnt_));
|
||||
};
|
||||
|
||||
template <typename T, typename U>
|
||||
|
||||
@ -103,6 +103,7 @@ public:
|
||||
common::ObFixedArray<ObExprResType, common::ObIAllocator> udf_attributes_types_;
|
||||
// indicate the argument is const expr or not
|
||||
common::ObFixedArray<bool, common::ObIAllocator> args_const_attr_;
|
||||
TO_STRING_KV(K(udf_meta_), K(udf_attributes_), K(udf_attributes_types_), K(args_const_attr_));
|
||||
};
|
||||
|
||||
OB_DEF_SERIALIZE(ObDllUdfInfo<UF>, template<typename UF>)
|
||||
|
||||
@ -40,6 +40,7 @@ public:
|
||||
ObIExprExtraInfo *&copied_info) const = 0;
|
||||
public:
|
||||
ObExprOperatorType type_;
|
||||
TO_STRING_KV(K(type_));
|
||||
};
|
||||
|
||||
} // end namespace sql
|
||||
|
||||
Reference in New Issue
Block a user