revise static assert comment according to latest data structure

This commit is contained in:
hiddenbomb
2023-11-09 15:07:09 +00:00
committed by ob-robot
parent ef593860ca
commit 71e89f4ebf
87 changed files with 3 additions and 3 deletions

View File

@ -233,7 +233,7 @@ ObTablet::ObTablet()
table_store_cache_()
{
#if defined(__x86_64__) && !defined(ENABLE_OBJ_LEAK_CHECK)
static_assert(sizeof(ObTablet) + sizeof(ObRowkeyReadInfo) <= 1672, "The size of ObTablet will affect the meta memory manager, and the necessity of adding new fields needs to be considered.");
static_assert(sizeof(ObTablet) + sizeof(ObRowkeyReadInfo) == 1616, "The size of ObTablet will affect the meta memory manager, and the necessity of adding new fields needs to be considered.");
#endif
MEMSET(memtables_, 0x0, sizeof(memtables_));
}