style: clang-tidy auto fixes (#1796)

Fixes #1795. Turning off noisy clang-tidy check.
This commit is contained in:
github-actions[bot]
2024-12-18 13:51:39 +00:00
committed by GitHub
parent 64b50b419f
commit 017cf2adc9
12 changed files with 28 additions and 53 deletions

View File

@@ -26,7 +26,7 @@
#include <cstdint>
#include <string>
static data::cassandra::ResultOrError
data::cassandra::ResultOrError
writeTxFromCSVString(std::string const& space, std::string const& record, data::cassandra::Handle const& handler)
{
std::string const statement = fmt::format(
@@ -36,22 +36,23 @@ writeTxFromCSVString(std::string const& space, std::string const& record, data::
return handler.execute(statement);
}
static data::cassandra::ResultOrError
data::cassandra::ResultOrError
writeObjectFromCSVString(std::string const& space, std::string const& record, data::cassandra::Handle const& handler)
{
std::string const statement = fmt::format("INSERT INTO {}.objects (key, sequence, object) VALUES ({})", space, record);
std::string const statement =
fmt::format("INSERT INTO {}.objects (key, sequence, object) VALUES ({})", space, record);
return handler.execute(statement);
}
static data::cassandra::ResultOrError
data::cassandra::ResultOrError
writeLedgerFromCSVString(std::string const& space, std::string const& record, data::cassandra::Handle const& handler)
{
std::string const statement = fmt::format("INSERT INTO {}.ledgers (sequence, header) VALUES ({})", space, record);
return handler.execute(statement);
}
static data::cassandra::ResultOrError
data::cassandra::ResultOrError
writeLedgerRange(
std::string const& space,
std::uint32_t minSeq,