add double-destroy check for MemoryContext
This commit is contained in:
@ -5364,7 +5364,7 @@ int ObLogPlan::plan_tree_traverse(const TraverseOp& operation, void* ctx)
|
||||
} else {
|
||||
NumberingCtx numbering_ctx; // operator numbering context
|
||||
NumberingExchangeCtx numbering_exchange_ctx; // operator numbering context
|
||||
ObArenaAllocator allocator(CURRENT_CONTEXT.get_malloc_allocator());
|
||||
ObArenaAllocator allocator(CURRENT_CONTEXT->get_malloc_allocator());
|
||||
allocator.set_label("PlanTreeTraver");
|
||||
ObAllocExprContext alloc_expr_ctx(allocator); // expr allocation context
|
||||
AllocExchContext alloc_exch_ctx(parallel); // exchange allocation context
|
||||
|
||||
Reference in New Issue
Block a user