The only user is the tests of downgrade_to_v1(), which uses it through mutation source. To avoid any new users popping up, we make it a private method of the latter. In the process the pass-through optimization is dropped, it is not needed for tests anyway.
16 lines
273 B
C++
16 lines
273 B
C++
/*
|
|
* Copyright (C) 2022-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
class flat_mutation_reader;
|
|
class flat_mutation_reader_v2;
|
|
|
|
// Adapts a v2 reader to v1 reader
|
|
flat_mutation_reader downgrade_to_v1(flat_mutation_reader_v2);
|