fix: xmlagg function oom

This commit is contained in:
obdev
2023-05-29 03:23:04 +00:00
committed by ob-robot
parent 556644291e
commit 9211f9025b
2 changed files with 41 additions and 4 deletions

View File

@ -130,7 +130,7 @@ public:
ObString get_prefix() { return ObString(); }
ObString get_encoding() { return ObString(); }
uint16_t get_standalone() { return 0; }
ObIMulModeBase* attribute_at(int64_t pos) { return nullptr; }
ObIMulModeBase* attribute_at(int64_t pos, ObIMulModeBase* buffer = nullptr) { return nullptr; }
bool has_flags(ObMulModeNodeFlag flag) { return false; }
bool get_unparse() { return false; }
bool get_is_empty() { return false; }
@ -218,7 +218,7 @@ public:
return ret;
}
virtual ObIMulModeBase* at(int64_t pos)
virtual ObIMulModeBase* at(int64_t pos, ObIMulModeBase* buffer = nullptr)
{
ObLibTreeNodeBase* tmp = ObLibContainerNode::member(pos);
TXmlNodeBase* res = nullptr;