]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When parsing a CREATE TABLE from the sqlite_master table, delete the CHECK
authordrh <drh@noemail.net>
Sun, 22 Dec 2019 18:06:49 +0000 (18:06 +0000)
committerdrh <drh@noemail.net>
Sun, 22 Dec 2019 18:06:49 +0000 (18:06 +0000)
commit9524a7ea9f7c693bd03f8a0df3fdea0d441473d1
treeb64bc8c685dbdb7ac3c1aab263e68224c749624a
parent69843342de6612381c4388fa94c1e87909ec57f0
When parsing a CREATE TABLE from the sqlite_master table, delete the CHECK
constraints if there are any errors, since there might otherwise be attempts
to use those CHECK constraints if PRAGMA writable_schema=ON is set.
This undoes the fix in check-in [ea721b34477ab8b4] for a more general
solution.

FossilOrigin-Name: a982e6434cd66bfbe94d455f538bcbc4360b91572062d92acae6b77e9560e65d
manifest
manifest.uuid
src/build.c
src/expr.c
test/fuzzdata8.db