mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
query: fix result row counting for results with multiple partitions
Message-Id: <1462377579-2419-1-git-send-email-gleb@scylladb.com>
This commit is contained in:
committed by
Tomasz Grabiec
parent
2a00c06dd5
commit
b75475de80
Notes:
Pekka Enberg
2016-05-06 13:32:29 +03:00
backport: 1.1
@@ -706,7 +706,7 @@ mutation_partition::query_compacted(query::result::partition_writer& pw, const s
|
||||
|| !has_any_live_data(s, column_kind::static_column, static_row()))) {
|
||||
pw.retract();
|
||||
} else {
|
||||
pw.row_count() = row_count ? : 1;
|
||||
pw.row_count() += row_count ? : 1;
|
||||
std::move(rows_wr).end_rows().end_qr_partition();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user