build: update to sqlite version 1.19.1 #126
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We were on a version a few months old.
Main driver of this was I ran into this issue in another branch:
https://gitlab.com/cznic/sqlite/-/issues/77.
Updating fixes it, but then runs into some other related race. The
author of the library asked about the first on the sqlite forums and
that the race also exists in the orginal C codebase, but it isn't an
issue.
The tests fail as is, since there was a bug fix w.r.t how the NULL
constraints and NULL insertion was handleed. It looks like this was
resolved here: https://gitlab.com/cznic/sqlite/-/issues/100 and here
https://gitlab.com/cznic/sqlite/-/issues/98. Seems like the classic case
of
nil
vs[]byte{}
.For now, I've removed the constraint on the witness stack, since today
we rely on the behavior where we can read out a NULL element for
the witness of a genesis asset.