This commit is contained in:
JoelKatz
2012-06-24 06:15:19 -07:00
parent 08bfd8f1d0
commit 9d5467feff

View File

@@ -53,7 +53,7 @@ void HashedObjectStore::bulkWrite()
Log(lsINFO) << "HOS: BulkWrite " << set.size();
boost::format fExists("SELECT ObjType FROM CommittedObjects WHERE Hash = '%s';");
boost::format fAdd("INSERT INTO ComittedObject (Hash,ObjType,LedgerIndex,Object) VALUES ('%s','%c','%u','%s');");
boost::format fAdd("INSERT INTO ComittedObjects (Hash,ObjType,LedgerIndex,Object) VALUES ('%s','%c','%u',%s);");
Database* db = theApp->getHashNodeDB()->getDB();
ScopedLock sl = theApp->getHashNodeDB()->getDBLock();