@@ -17,17 +17,19 @@ struct DomainGetAsOfQuery {
1717 kvdb::Domain kvdb_entity,
1818 kvdb::ROTxn& tx,
1919 const snapshots::SnapshotRepositoryROAccess& repository_latest,
20- const snapshots::SnapshotRepositoryROAccess& repository_historical)
21- : query1_{*kvdb_entity.history , tx, repository_historical},
22- query2_{history_segment_names.front (), kvdb_entity, tx, repository_latest} {}
20+ const snapshots::SnapshotRepositoryROAccess& repository_historical,
21+ const snapshots::QueryCaches& query_caches)
22+ : query1_{*kvdb_entity.history , tx, repository_historical, query_caches},
23+ query2_{history_segment_names.front (), kvdb_entity, tx, repository_latest, query_caches} {}
2324
2425 DomainGetAsOfQuery (
2526 const kvdb::DatabaseRef& database,
2627 kvdb::ROTxn& tx,
2728 const snapshots::SnapshotRepositoryROAccess& repository_latest,
28- const snapshots::SnapshotRepositoryROAccess& repository_historical)
29- : query1_{database, tx, repository_historical},
30- query2_{history_segment_names.front (), database, tx, repository_latest} {}
29+ const snapshots::SnapshotRepositoryROAccess& repository_historical,
30+ const snapshots::QueryCaches& query_caches)
31+ : query1_{database, tx, repository_historical, query_caches},
32+ query2_{history_segment_names.front (), database, tx, repository_latest, query_caches} {}
3133
3234 using Key = decltype (TKeyEncoder1::value);
3335 using Value = decltype (TValueDecoder1::value);
0 commit comments