ObRowBuffer use tenant mem
This commit is contained in:
@ -227,7 +227,7 @@ OB_INLINE int ObRowBuffer::extend_buf()
|
|||||||
if (buf_size_ >= MAX_ROW_BUFFER_SIZE) {
|
if (buf_size_ >= MAX_ROW_BUFFER_SIZE) {
|
||||||
ret = OB_BUF_NOT_ENOUGH;
|
ret = OB_BUF_NOT_ENOUGH;
|
||||||
STORAGE_LOG(WARN, "Failed to extend row buf", K(ret), K(*this));
|
STORAGE_LOG(WARN, "Failed to extend row buf", K(ret), K(*this));
|
||||||
} else if (OB_ISNULL(buf_ = reinterpret_cast<char *>(common::ob_malloc(MAX_ROW_BUFFER_SIZE, "ObRowBuffer")))) {
|
} else if (OB_ISNULL(buf_ = reinterpret_cast<char *>(common::ob_malloc(MAX_ROW_BUFFER_SIZE, ObMemAttr(MTL_ID(), "ObRowBuffer"))))) {
|
||||||
ret = OB_ALLOCATE_MEMORY_FAILED;
|
ret = OB_ALLOCATE_MEMORY_FAILED;
|
||||||
STORAGE_LOG(WARN, "Failed to alloc memory for row buffer", K(ret));
|
STORAGE_LOG(WARN, "Failed to alloc memory for row buffer", K(ret));
|
||||||
reset();
|
reset();
|
||||||
|
Reference in New Issue
Block a user