Change the ap_mini_task_mgr memory allocator from TCFactory to op_reclaim_alloc

This commit is contained in:
leslieyuchen
2021-10-14 16:49:18 +08:00
committed by wangzelin.wzl
parent 28e32c861b
commit 4a67d3f351
4 changed files with 13 additions and 34 deletions

View File

@ -49,8 +49,7 @@ inline int init_sql_factories()
// ATTENTION: don't delete this log, it's used to init thread local variable LogBufferMgr in ObLog.
SQL_LOG(INFO, "init sql factories");
int ret = common::OB_SUCCESS;
if (OB_FAIL(ObAPMiniTaskMgrGFactory::get_instance()->init())) {
} else if (OB_FAIL(ObPxSqcHandlerFactory::get_instance()->init())) {
if (OB_FAIL(ObPxSqcHandlerFactory::get_instance()->init())) {
SQL_LOG(ERROR, "failed to init sqc handler", K(ret));
} else {
ObExprOperatorFactory::register_expr_operators();