mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-01 17:15:52 +00:00
adjust complete query
This commit is contained in:
@@ -239,8 +239,10 @@ BackendIndexer::doKeysRepair(
|
||||
return;
|
||||
sequence = rng->maxSequence;
|
||||
}
|
||||
|
||||
BOOST_LOG_TRIVIAL(info)
|
||||
<< __func__ << " sequence = " << std::to_string(*sequence);
|
||||
|
||||
std::optional<ripple::uint256> cursor;
|
||||
while (true)
|
||||
{
|
||||
|
||||
@@ -1559,7 +1559,7 @@ CassandraBackend::open(bool readOnly)
|
||||
query.str("");
|
||||
query << "SELECT * FROM " << tablePrefix << "books "
|
||||
<< "WHERE book = "
|
||||
<< "0x" << ripple::strHex(ripple::uint256(beast::zero))
|
||||
<< "0x000000000000000000000000000000000000000000000000"
|
||||
<< " AND sequence = ?";
|
||||
if (!completeBook_.prepareStatement(query, session_.get()))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user