Removed checkpoint call

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 8 years ago
parent 7b304cf57d
commit f57da83df1
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 1
      libresonic-main/src/main/java/org/libresonic/player/dao/MediaFileDao.java

@ -676,7 +676,6 @@ public class MediaFileDao extends AbstractDao {
for (int id = minId; id <= maxId; id += batchSize) { for (int id = minId; id <= maxId; id += batchSize) {
update("delete from media_file where id between ? and ? and not present", id, id + batchSize); update("delete from media_file where id between ? and ? and not present", id, id + batchSize);
} }
update("checkpoint");
} }
private static class MediaFileMapper implements RowMapper<MediaFile> { private static class MediaFileMapper implements RowMapper<MediaFile> {

Loading…
Cancel
Save