[CP] Split prepare stmt memory to tenants
This commit is contained in:
		@ -36,7 +36,7 @@ public:
 | 
			
		||||
  ObReserveArenaAllocator<1024> test_allocator_;
 | 
			
		||||
};
 | 
			
		||||
TestReserveArenaAllocator::TestReserveArenaAllocator():
 | 
			
		||||
    test_allocator_(ObModIds::OB_STORE_ROW_EXISTER, OB_MALLOC_NORMAL_BLOCK_SIZE, 500)
 | 
			
		||||
  test_allocator_(ObMemAttr(500, ObModIds::OB_STORE_ROW_EXISTER), OB_MALLOC_NORMAL_BLOCK_SIZE)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -151,4 +151,4 @@ int main(int argc, char **argv)
 | 
			
		||||
  srand(time(NULL));
 | 
			
		||||
  testing::InitGoogleTest(&argc, argv);
 | 
			
		||||
  return RUN_ALL_TESTS();
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user