跳到主内容
精选85modernc.org/sqlite(GitLab Commits)语言与库

modernc.org/sqlite 修复 3.53.3 日志回滚数据损坏

lib, vec: re-vendor, bump libc to v1.74.4, sweep the docs

原文
推荐理由

使用 modernc.org/sqlite 的开发者请注意:此版本修复了 SQLite 3.53.3 在崩溃恢复时的数据损坏 bug,影响多数据库事务,建议升级到包含此补丁的版本。

Re-vendor the transpiled sources from ../libsqlite3 and ../libsqlite_vec. SQLite stays at 3.53.3; what changes is that the amalgamation now carries libsqlite3's sqlite_superjournal.patch, fixing an upstream 3.53.3 data-corruption bug in journal rollback. After a crash during the commit of a multi-database (ATTACH) transaction the super-journal name and its checksum can be left zeroed while the name length and the trailing magic survive; the checksum is a plain byte sum, so an all-zero name still validates, readSuperJournal() hands back a non-NULL pointer to an empty string, and pager_playback() deletes the hot journal without replaying it. All 19 targets carry the patch; master had it on none.

Verified by expanding both the old and the new trees and diffing per target: 17 of 19 targets differ by exactly that one line. linux/s390x additionally picks up modernc.org/cc/v4 v4.29.1's MSB-first big-endian bit-field allocation, it being this module's onl...

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近