mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Correct INSERT statement.
This commit is contained in:
@@ -233,7 +233,7 @@ std::string SerializedTransaction::getSQLInsertReplaceHeader()
|
|||||||
|
|
||||||
std::string SerializedTransaction::getMetaSQLInsertHeader()
|
std::string SerializedTransaction::getMetaSQLInsertHeader()
|
||||||
{
|
{
|
||||||
return "INSERT INTO Transactions " + getMetaSQLValueHeader() + " VALUES ";
|
return "INSERT OR REPLACE INTO Transactions " + getMetaSQLValueHeader() + " VALUES ";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string SerializedTransaction::getSQL(uint32 inLedger, char status) const
|
std::string SerializedTransaction::getSQL(uint32 inLedger, char status) const
|
||||||
|
|||||||
Reference in New Issue
Block a user