mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-27 15:15:52 +00:00
checkpoint
This commit is contained in:
@@ -1527,12 +1527,6 @@ CassandraBackend::open(bool readOnly)
|
||||
if (!executeSimpleStatement(query.str()))
|
||||
continue;
|
||||
|
||||
query.str("");
|
||||
query << "SELECT * FROM " << tablePrefix << "objects WHERE sequence=1"
|
||||
<< " LIMIT 1";
|
||||
if (!executeSimpleStatement(query.str()))
|
||||
continue;
|
||||
|
||||
query.str("");
|
||||
query << "CREATE TABLE IF NOT EXISTS " << tablePrefix << "transactions"
|
||||
<< " ( hash blob PRIMARY KEY, ledger_sequence bigint, "
|
||||
@@ -1822,12 +1816,13 @@ CassandraBackend::open(bool readOnly)
|
||||
<< " is_latest IN (true, false)";
|
||||
if (!selectLedgerRange_.prepareStatement(query, session_.get()))
|
||||
continue;
|
||||
/*
|
||||
query.str("");
|
||||
query << " SELECT key,object FROM " << tablePrefix
|
||||
<< "objects WHERE sequence = ?";
|
||||
if (!selectLedgerDiff_.prepareStatement(query, session_.get()))
|
||||
continue;
|
||||
|
||||
*/
|
||||
setupPreparedStatements = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user