mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Emergency fix. boost::format doesn't have the thread safety we thought.
This commit is contained in:
@@ -154,7 +154,8 @@ void HashedObjectStore::bulkWrite()
|
||||
case hotTRANSACTION_NODE: type = 'N'; break;
|
||||
default: type = 'U';
|
||||
}
|
||||
db->executeSQL(boost::str(fAdd % it->getHash().GetHex() % type % it->getIndex() % sqlEscape(it->getData())));
|
||||
db->executeSQL(boost::str(boost::format(fAdd)
|
||||
% it->getHash().GetHex() % type % it->getIndex() % sqlEscape(it->getData())));
|
||||
}
|
||||
|
||||
db->executeSQL("END TRANSACTION;");
|
||||
|
||||
Reference in New Issue
Block a user