fix lob pushdown problem

Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
obdev
2023-01-29 15:50:08 +08:00
committed by ob-robot
parent 6f294fda6b
commit ab3056c41a
2 changed files with 7 additions and 1 deletions

View File

@ -32,7 +32,7 @@ int ObColMap::init(const int64_t col_count)
STORAGE_LOG(WARN, "ObColMap init twice", K(ret));
} else if (count <= FINAL_LEVEL_MAX_COL_NUM) {
if (OB_UNLIKELY(count > FIRST_LEVEL_MAX_COL_NUM)) {
if (NULL == (ptr = ob_malloc(sizeof(ColMapFinal)))) {
if (NULL == (ptr = ob_malloc(sizeof(ColMapFinal), ObModIds::OB_COL_MAP))) {
ret = OB_ALLOCATE_MEMORY_FAILED;
STORAGE_LOG(ERROR, "fail to allocate memory for column_ids map", K(ret));
} else {