mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 20:45:51 +00:00
Emergency fix. boost::format doesn't have the thread safety we thought.
This commit is contained in:
@@ -162,7 +162,7 @@ inline std::string strHex(const uint64 uiHost)
|
||||
inline static std::string sqlEscape(const std::string& strSrc)
|
||||
{
|
||||
static boost::format f("X'%s'");
|
||||
return str(f % strHex(strSrc));
|
||||
return str(boost::format(f) % strHex(strSrc));
|
||||
}
|
||||
|
||||
inline static std::string sqlEscape(const std::vector<unsigned char>& vecSrc)
|
||||
|
||||
Reference in New Issue
Block a user