mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-25 14:15:53 +00:00
clear out keys buffer in postgres. Fix postgres schema
This commit is contained in:
@@ -697,6 +697,8 @@ PostgresBackend::writeKeys(
|
||||
{
|
||||
if (numRows > 0)
|
||||
conn.bulkInsert("keys", buffer.str());
|
||||
std::stringstream temp;
|
||||
buffer.swap(temp);
|
||||
conn("COMMIT");
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user