From e02c8c355ee1dacb0c6ef2c5c5f885c7a4b44c33 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 24 Jan 2023 10:34:25 +0300 Subject: Backport commit c3f616597c40 (Due to a coding error, check-in [8efd61e8518594e3] did not actually use ...) Fixes misuse of the writeMask field of Parse which resulted in the 'address of array pParse->writeMask will always evaluate to true' warning. --- libsqlite3/README-DEV | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libsqlite3/README-DEV') diff --git a/libsqlite3/README-DEV b/libsqlite3/README-DEV index a6f056f..86f7c79 100644 --- a/libsqlite3/README-DEV +++ b/libsqlite3/README-DEV @@ -13,8 +13,14 @@ Also fix warnings that pop up with -Wall: $ mv sqlite3.c sqlite3.c.orig $ cp sqlite3.c.orig sqlite3.c $ git apply ../fix-warnings.patch +$ git apply ../fix-writeMask-check.patch $ popd -Note that patches are produced by commands similar to the following: +Note that the fix-writeMask-check.patch patch is a backport of the +c3f616597c40 commit (as appears in the https://github.com/sqlite/sqlite +mirror). It shouldn't be required starting the release which will follow +3.40.1. + +Also note that patches are produced by commands similar to the following: $ git diff >fix-warnings.patch -- cgit v1.1