Re:Pack: A New Container Format for Compressed Files
by raggi on Sunday March 24, 2024 @10:54AM
(#39807604)
it’s not safe to disable SQLite’s thread safety as you do here: https://github.com/PackOrganization/Pack/blob/main/Libraries... and then do your own locking. You attempt to pass the flag at open time to enable serialized mode, however quoting the SQLite docs for the build flag you set:
SQLite’s APIs are often hazardous in these ways, it really should be erroring rather than silently ignoring the fullmutex flag, but alas.
[ Parent
| on HN ]
There are no comments on this comment yet.