Бэкап SQLite прошёл проверку. Второй заказ в него не попал

habrahabr.ru · world
Full story

A SQLite backup opened, its checksum matched and integrity_check returned ok, yet a confirmed order was missing from it. The author examines the results of ten local runs to find where the record remained and why the checks did not notice its absence. The article also discusses how to accept a backup based on its contents and includes a full tested script.

Копия SQLite открывается, контрольная сумма совпадает, integrity_check отвечает ok. А подтверждённого заказа в ней нет. Разбираю результат десяти локальных прогонов: где осталась запись, почему проверки её не заметили и как принять резервную копию по содержимому. Полный проверенный скрипт — внутри. Читать далее

Read full article → Compare