diff --git a/mutation_query.hh b/mutation_query.hh index 32581a54c4..934101c7fe 100644 --- a/mutation_query.hh +++ b/mutation_query.hh @@ -140,15 +140,16 @@ class reconcilable_result_builder { const schema& _schema; const query::partition_slice& _slice; - utils::chunked_vector _result; - uint64_t _live_rows{}; - bool _return_static_content_on_partition_with_no_rows{}; bool _static_row_is_alive{}; uint64_t _total_live_rows = 0; query::result_memory_accounter _memory_accounter; stop_iteration _stop; std::optional _mutation_consumer; + + uint64_t _live_rows{}; + // make this the last member so it is destroyed first. #7240 + utils::chunked_vector _result; public: reconcilable_result_builder(const schema& s, const query::partition_slice& slice, query::result_memory_accounter&& accounter)