This makes more sense.

This commit is contained in:
JoelKatz
2013-03-15 02:38:47 -07:00
parent 64b2a50e8b
commit 5f35afc645
3 changed files with 12 additions and 21 deletions

View File

@@ -236,6 +236,11 @@ std::string SerializedTransaction::getMetaSQLInsertHeader()
return "INSERT INTO Transactions " + getMetaSQLValueHeader() + " VALUES ";
}
std::string SerializedTransaction::getMetaSQLInsertReplaceHeader()
{
return "INSERT OR REPLACE INTO Transactions " + getMetaSQLValueHeader() + " VALUES ";
}
std::string SerializedTransaction::getSQL(uint32 inLedger, char status) const
{
Serializer s;