mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
Revert "Fix 'NetworkOPs::countAccountTxs' taking way too long."
This reverts commit ff127d2b25.
A new fix is in development.
This commit is contained in:
@@ -1217,8 +1217,7 @@ NetworkOPs::transactionsSQL (std::string selection, const RippleAddress& account
|
||||
|
||||
std::string sql =
|
||||
boost::str (boost::format ("SELECT %s FROM "
|
||||
"AccountTransactions INDEXED BY AcctTxIndex INNER JOIN Transactions "
|
||||
"ON Transactions.TransID = AccountTransactions.TransID "
|
||||
"AccountTransactions INNER JOIN Transactions ON Transactions.TransID = AccountTransactions.TransID "
|
||||
"WHERE Account = '%s' %s %s "
|
||||
"ORDER BY AccountTransactions.LedgerSeq %s, AccountTransactions.TxnSeq %s, AccountTransactions.TransID %s "
|
||||
"LIMIT %u, %u;")
|
||||
|
||||
Reference in New Issue
Block a user