revise static assert comment according to latest data structure
This commit is contained in:
@ -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_));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user