diff options
Diffstat (limited to 'icing/schema/schema-store.cc')
-rw-r--r-- | icing/schema/schema-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icing/schema/schema-store.cc b/icing/schema/schema-store.cc index 653f34f..7af7351 100644 --- a/icing/schema/schema-store.cc +++ b/icing/schema/schema-store.cc @@ -563,7 +563,7 @@ SchemaStoreStorageInfoProto SchemaStore::GetStorageInfo() const { continue; } total_sections += sections_list_or.ValueOrDie()->size(); - if (sections_list_or.ValueOrDie()->size() == kMaxSectionId + 1) { + if (sections_list_or.ValueOrDie()->size() == kTotalNumSections) { ++num_types_sections_exhausted; } } |