[FEAT MERGE] OB Support XMLType

Co-authored-by: simonjoylet <simonjoylet@gmail.com>
This commit is contained in:
obdev
2023-04-28 03:45:10 +00:00
committed by ob-robot
parent 58bb3d34b7
commit 17abf2818a
405 changed files with 18839 additions and 1573 deletions

View File

@ -55,9 +55,9 @@ public:
// Every ObObjType from ObTinyIntType to ObHexStringType inclusive.
// Skip ObNullType and ObExtendType because for external usage, a column type
// can't be NULL or NOP.
ObObjType not_test_type[8] = {
ObObjType not_test_type[9] = {
ObNullType, ObExtendType, ObUnknownType, ObEnumInnerType, ObSetInnerType,
ObNumberFloatType, ObURowIDType, ObLobType};
ObNumberFloatType, ObURowIDType, ObLobType, ObUserDefinedSQLType};
static const int64_t column_num = ObMaxType - sizeof(not_test_type) / sizeof(ObObjType);
public:
TestNewRowReader()

View File

@ -34,6 +34,7 @@ struct ObAddrPair {
ObAddr src_;
ObAddr dst_;
int64_t hash() const { return src_.hash() ^ dst_.hash(); }
int hash(uint64_t &hash_val) const { hash_val = hash(); return OB_SUCCESS; }
};
public:
MsgBus() {