As requested in #22104, moved the files and fixed other includes and build system. Moved files: - combine.hh - collection_mutation.hh - collection_mutation.cc - converting_mutation_partition_applier.hh - converting_mutation_partition_applier.cc - counters.hh - counters.cc - timestamp.hh Fixes: #22104 This is a cleanup, no need to backport Closes scylladb/scylladb#25085
21 lines
436 B
C++
21 lines
436 B
C++
/*
|
|
* Copyright (C) 2015-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#include <fmt/chrono.h>
|
|
|
|
#include "mutation/timestamp.hh"
|
|
|
|
#include "clocks-impl.hh"
|
|
|
|
std::atomic<int64_t> clocks_offset;
|
|
|
|
std::string format_timestamp(api::timestamp_type ts) {
|
|
std::chrono::system_clock::time_point when{api::timestamp_clock::duration(ts)};
|
|
return fmt::format("{:%Y/%m/%d %T}", when);
|
|
}
|