mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
A plain rowid is the largest one plus one, so a trash queued in the same transaction that dropped the newest op took its id. The drain retires the op it sent by id, so a rename landing deleted the trash queued over it and the file stayed on Drive (B137). Schema 37 rebuilds pending_op with AUTOINCREMENT, keeping every id and index.