Closed ta3pks closed 5 years ago
It’s not here. It’s in the sqlite3-src
package. You need to update the source
directory there.
It might also be helpful to find our the difference between your setup and the one on Travis CI:
code is built alright that's not the problem on runtime the sql syntax throws error from sqlite inside
If I’m not mistaken, we build version 3.28.0, which is the latest one at the moment.
3.28 supports upserts however in my case it works fine on arch linux and Mac but on ubuntu it gives syntax error for on conflict
clause
so it doesn't seem to be the latest version
Try updating Cargo‘s cache via cargo update
. It might be the case that you still have the old version.
im using a docker container to build the project so there's no cache every time it fetches the new packages
The OS distribution might have an older version installed, and it gets picked up. Try the bundled
feature to prevent this from happening:
[dependencies.sqlite3-src]
version = "0.2"
features = ["bundled"]
See also sqlite/#20.
thanks
How do I upgrade sqlite version the code is built against ?