mutation_partition_v2: fix a minor bug in printer

Commit 1cb95b8cf caused a small regression in the debug printer.
After that commit, range tombstones are printed to stdout,
instead of the target stream.
In practice, this causes range tombstones to appear in test logs
out of order with respect to other parts of the debug message.

Fix that.

Closes #13766
This commit is contained in:
Michał Chojnowski
2023-05-04 13:10:30 +02:00
committed by Botond Dénes
parent e385ce8a2b
commit eb5ccb7356

View File

@@ -825,7 +825,7 @@ operator<<(std::ostream& os, const mutation_partition_v2::printer& p) {
os << indent << indent << indent << "tombstone: " << row.deleted_at() << ",\n";
}
if (re.range_tombstone()) {
fmt::print("{:6}rt: {},\n", "", re.range_tombstone());
fmt::print(os, "{:6}rt: {},\n", "", re.range_tombstone());
}
position_in_partition pip(re.position());