Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sqlite: Rewrite tests for custom recovery code.
Our largest SQLite patch, 0001-Virtual-table-supporting-recovery-of-corrupted-datab.patch, contains the implementation of a virtual table extension that contains custom recovery logic. The automated tests for the extension use SQLite's infrastructure base on Tcl, and don't run on CQ. This CL rewrites the tests to use C++ and //sql, so they can be run on CQ. A follow-up CL will replace the recovery code with a rewritten version that lives in the Chromium tree. This CL also adds a test covering the edge cases of the recovery code's SQLite varint decoding logic, which has proven useful for debugging the rewritten recovery code. Bug: 945204 Change-Id: I50c6cbf6f94dc698915e6fb4925769051396cb4b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1603604 Reviewed-by: Chris Mumford <cmumford@google.com> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#659225}
- Loading branch information