[CP] Split prepare stmt memory to tenants

This commit is contained in:
obdev
2023-07-13 05:18:17 +00:00
committed by ob-robot
parent 58d0d34e2c
commit 91889593fd
7 changed files with 24 additions and 21 deletions

View File

@ -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();
}
}