Consistent case.

This commit is contained in:
JoelKatz
2011-12-03 22:20:31 -08:00
parent 604c9721e9
commit c52512e5e7

View File

@@ -42,7 +42,7 @@ bool HashedObject::store() const
#ifdef DEBUG
assert(checkHash());
#endif
std::string sql="INSERT INTO CommitedObjects (Hash,ObjType,LedgerIndex,Object) values ('";
std::string sql="INSERT INTO CommitedObjects (Hash,ObjType,LedgerIndex,Object) VALUES ('";
sql.append(mHash.GetHex());
switch(mType)
{
@@ -67,7 +67,7 @@ bool HashedObject::store() const
HashedObject::pointer retrieve(const uint256& hash)
{
std::string sql="SELECT * from CommitedObjects where Hash='";
std::string sql="SELECT * from CommitedObjects WHERE Hash='";
sql.append(hash.GetHex());
sql.append("';");