From 65ca8eebb81aabd3b29eb97fc3674a9cd7a15f71 Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Wed, 13 Sep 2017 17:37:20 +0200 Subject: [PATCH] mutation_partition: Print rows_entry's position instead of key For dummy rows, _key doesn't reflect the right position. Message-Id: <1505317040-6783-1-git-send-email-tgrabiec@scylladb.com> --- mutation_partition.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutation_partition.cc b/mutation_partition.cc index fe2ae95edf..98b401f67d 100644 --- a/mutation_partition.cc +++ b/mutation_partition.cc @@ -859,7 +859,7 @@ operator<<(std::ostream& os, const deletable_row& dr) { std::ostream& operator<<(std::ostream& os, const rows_entry& re) { - return fprint(os, "{rows_entry: cont=%d dummy=%d %s %s}", re.continuous(), re.dummy(), re._key, re._row); + return fprint(os, "{rows_entry: cont=%d dummy=%d %s %s}", re.continuous(), re.dummy(), re.position(), re._row); } std::ostream&