Bring in the changes of the last four years of SQLite development. Fixes #1728 Fixes #1592
The note is not visible to the blocked user.