lineage-next / android_packages_apps_Twelve

🎵
8 stars 1 forks source link

luca/db #29

Closed luca020400 closed 1 month ago

luca020400 commented 1 month ago
luca020400 commented 1 month ago

Note to self, need to zap indices on primary key tuple as that's done by default.

The item_id index is required in the crossref because the index is created on (playlist_id, item_d) which forces full table scans in case we search by item_id (like in associativity check)

luca020400 commented 1 month ago

I wonder if it makes sense to have a more comprehensive insert cross ref method that also adds the item in case?

Imo we should just start looking at how to implement media mirroring to avoid (most) of this mess?

luca020400 commented 1 month ago

Try a manual gradle debug build, you'll see some issues regarding transactions and suspend funcs, we should solve them