mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Consistent case.
This commit is contained in:
@@ -42,7 +42,7 @@ bool HashedObject::store() const
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
assert(checkHash());
|
assert(checkHash());
|
||||||
#endif
|
#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());
|
sql.append(mHash.GetHex());
|
||||||
switch(mType)
|
switch(mType)
|
||||||
{
|
{
|
||||||
@@ -67,7 +67,7 @@ bool HashedObject::store() const
|
|||||||
|
|
||||||
HashedObject::pointer retrieve(const uint256& hash)
|
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(hash.GetHex());
|
||||||
sql.append("';");
|
sql.append("';");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user