Files
pmomusic/pmocache/src/db.rs
Eric Coissac 8005968ec5 Reorder commit and metadata count logic
Move `tx.commit()?` after counting metadata rows under the old lazy_pk to ensure accurate count before commit. This fixes a potential race or inconsistency where metadata might be updated after commit, leading to incorrect logging of remaining rows under lazy_pk.
2026-03-25 12:48:03 +01:00

46 KiB