mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(ldb) Re-add accidentally removed stmt.addBatch that breaks
This commit is contained in:
parent
763ed260c3
commit
03d999444d
@ -62,6 +62,7 @@ public class LinkdbWriter {
|
|||||||
stmt.setInt(10, document.pubYear());
|
stmt.setInt(10, document.pubYear());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stmt.addBatch();
|
||||||
|
|
||||||
if (++i > 1000) {
|
if (++i > 1000) {
|
||||||
stmt.executeBatch();
|
stmt.executeBatch();
|
||||||
|
Loading…
Reference in New Issue
Block a user