mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
style: clang-tidy auto fixes (#1796)
Fixes #1795. Turning off noisy clang-tidy check.
This commit is contained in:
committed by
GitHub
parent
64b50b419f
commit
017cf2adc9
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user