mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Missing startIterRows.
This commit is contained in:
@@ -175,8 +175,8 @@ Transaction::pointer Transaction::transactionFromSQL(const std::string& sql)
|
||||
ScopedLock sl(theApp->getTxnDB()->getDBLock());
|
||||
Database* db=theApp->getTxnDB()->getDB();
|
||||
|
||||
if(!db->executeSQL(sql.c_str())) return Transaction::pointer();
|
||||
if(!db->getNextRow()) return Transaction::pointer();
|
||||
if(!db->executeSQL(sql.c_str()) || !db->startIterRows() || !db->getNextRow())
|
||||
return Transaction::pointer();
|
||||
|
||||
db->getStr("TransID", transID);
|
||||
db->getStr("FromID", fromID);
|
||||
|
||||
Reference in New Issue
Block a user