Skip to content

Commit 37472bb

Browse files
committed
Add MaxColumnFamily to VersionEdit::DebugString()
1 parent 457c78e commit 37472bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

db/version_edit.cc

+4
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ std::string VersionEdit::DebugString(bool hex_key) const {
353353
if (is_column_family_drop_) {
354354
r.append("\n ColumnFamilyDrop");
355355
}
356+
if (has_max_column_family_) {
357+
r.append("\n MaxColumnFamily: ");
358+
r.append(max_column_family_);
359+
}
356360
r.append("\n}\n");
357361
return r;
358362
}

0 commit comments

Comments
 (0)