mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-29 16:15:50 +00:00
add ancestry check
This commit is contained in:
@@ -757,8 +757,9 @@ CassandraBackend::open()
|
||||
continue;
|
||||
|
||||
query = {};
|
||||
query << " update " << tablePrefix << "ledger_range"
|
||||
<< " set sequence = ? where is_latest = ?";
|
||||
query
|
||||
<< " update " << tablePrefix << "ledger_range"
|
||||
<< " set sequence = ? where is_latest = ? if sequence in (?,null)";
|
||||
if (!updateLedgerRange_.prepareStatement(query, session_.get()))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user