mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
simplify fetch ledger range query in Cassandra
This commit is contained in:
@@ -1600,9 +1600,7 @@ CassandraBackend::open(bool readOnly)
|
||||
continue;
|
||||
|
||||
query.str("");
|
||||
query << " SELECT sequence FROM " << tablePrefix
|
||||
<< "ledger_range WHERE "
|
||||
<< " is_latest IN (true, false)";
|
||||
query << " SELECT sequence FROM " << tablePrefix << "ledger_range";
|
||||
if (!selectLedgerRange_.prepareStatement(query, session_.get()))
|
||||
continue;
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user