table: Carry v.u.generator down to populate_views()

The method is called by view_builder::consumer when building a view and
the consumer already has stable dependency reference on the view updates
generator.

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
This commit is contained in:
Pavel Emelyanov
2023-03-28 12:03:18 +03:00
parent a95d3446fd
commit e78e64a920
3 changed files with 3 additions and 1 deletions

View File

@@ -2295,7 +2295,6 @@ public:
if (!step.current_key.key().is_empty(*_step.reader.schema())) {
load_views_to_build();
}
(void)_gen;
}
void load_views_to_build() {
@@ -2396,6 +2395,7 @@ public:
auto close_reader = defer([&reader] { reader.close().get(); });
reader.upgrade_schema(base_schema);
_step.base->populate_views(
_gen,
std::move(views),
_step.current_token(),
std::move(reader),