mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-23 05:05:54 +00:00
checkpoint
This commit is contained in:
@@ -846,7 +846,11 @@ PostgresBackend::writeKeys(
|
||||
}
|
||||
}
|
||||
if (isAsync)
|
||||
{
|
||||
if (numRows > 0)
|
||||
conn.bulkInsert("keys", buffer.str());
|
||||
conn("COMMIT");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool
|
||||
@@ -890,7 +894,11 @@ PostgresBackend::writeBooks(
|
||||
}
|
||||
}
|
||||
if (isAsync)
|
||||
{
|
||||
if (numRows > 0)
|
||||
conn.bulkInsert("books", buffer.str());
|
||||
conn("COMMIT");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user