storesafe / cordova-sqlite-evcore-extbuild-free

Cordova sqlite plugin with Android performance enhancements for PhoneGap Build, GPL v3 or commercial license options
Other
24 stars 13 forks source link

SQLite 3.36.0 update [...] re: "ALTER TABLE DROP COLUMN may corrupt data" #59

Closed brodybits closed 2 years ago

brodybits commented 2 years ago

updated:

SQLite 3.3.6.0 should resolve this potential corruption issue, according to this: https://sqlite.org/forum/forumpost/ac6086ecde66f1c4?t=h

P.S. It now looks to me like they did fix this for SQLite 3.35.5 as well, I have added another comment to the SQLite forum thread.


I discovered this ticket today: https://www.sqlite.org/src/tktview?name=c88f3036a2

While I think it is not likely to affect too many users, I would very strongly favor anything we can do to avoid the data corruption risks.

I can think of 2 possible mitigations, which would be breaking changes:

some references:


outdated:

P.S. I am planning to implement a migration in the near future as I really do not like the data corruption risk, as minor as it may be.

I am extremely hopeful that it may be possible to help get this resolved in SQLite itself in the near future as well.

brodybits commented 2 years ago

I just followed up on the forum in this post: https://sqlite.org/forum/forumpost/6485501bbe

Hello is there anything we can do to help get this resolved?

I would also be grateful if there could be a flag such as SQLITE_OMIT_DROP_COLUMN.

Thanks!

brodybits commented 2 years ago

This update is now done in the default (master) branch, still need to update some other plugin versions

brodybits commented 2 years ago

This update is in cordova-sqlite-evcore-extbuild-free version 0.15.1, update is highly recommended, closing now.