mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
[filescanner] Fix nested transaction
This commit is contained in:
@@ -1229,10 +1229,11 @@ bulk_scan(int flags)
|
|||||||
DPRINTF(E_DBG, L_SCAN, "Purging old database content\n");
|
DPRINTF(E_DBG, L_SCAN, "Purging old database content\n");
|
||||||
db_purge_cruft(start);
|
db_purge_cruft(start);
|
||||||
db_groups_cleanup();
|
db_groups_cleanup();
|
||||||
db_queue_cleanup();
|
|
||||||
|
|
||||||
db_transaction_end();
|
db_transaction_end();
|
||||||
|
|
||||||
|
db_queue_cleanup();
|
||||||
|
|
||||||
cache_artwork_purge_cruft(start);
|
cache_artwork_purge_cruft(start);
|
||||||
|
|
||||||
DPRINTF(E_LOG, L_SCAN, "Bulk library scan completed in %.f sec\n", difftime(end, start));
|
DPRINTF(E_LOG, L_SCAN, "Bulk library scan completed in %.f sec\n", difftime(end, start));
|
||||||
|
|||||||
Reference in New Issue
Block a user