fix update store_col_cnt when upgrade
This commit is contained in:
@ -993,5 +993,11 @@ void ObStorageSchema::reset_string(ObString &str)
|
||||
str.reset();
|
||||
}
|
||||
|
||||
void ObStorageSchema::update_column_cnt(const int64_t input_col_cnt)
|
||||
{
|
||||
column_cnt_ = MAX(column_cnt_, input_col_cnt);
|
||||
store_column_cnt_ = MAX(store_column_cnt_, input_col_cnt);
|
||||
}
|
||||
|
||||
} // namespace storage
|
||||
} // namespace oceanbase
|
||||
|
||||
Reference in New Issue
Block a user