-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update SQLite3 to version 3.35 #926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #926 +/- ##
=======================================
Coverage 46.80% 46.80%
=======================================
Files 11 11
Lines 1457 1457
=======================================
Hits 682 682
Misses 640 640
Partials 135 135 Continue to review full report at Codecov.
|
How to run the upgrade tool from my project? I tried many ways but could not figure it out. Any help would be appreciated. |
NVM. Figured it out. :) |
@mattn Is there anything blocking an upgrade to 3.35.x? We could probably even move up to 3.35.4. |
Sorry all, I have made it a rule to upgrade the amalgamation code myself. I'll do this soon. |
Thanks for the fast response — itching to be able to use |
Hi there, When I I tried to use the master branch instead but still getting a DB stuck at 3.31. I'm building on OSX, am I missing something ? Thanks |
@devfd From the root of your repository, try:
That should pin your |
thanks @neilalexander still getting 3.31.0 version though When installing on a linux container I get a 3.27.2 version 🤔 steps to reproduce:
package main
import (
"database/sql"
_ "github.com/mattn/go-sqlite3"
)
func main() {
db, err := sql.Open("sqlite3", "file:hello.sqlite3?mode=rwc")
if err != nil {
panic(err)
}
db.Exec("CREATE TABLE IF NOT EXISTS hello(name text primary key)")
}
|
When you're running
you're executing the |
yes of course, how did I not see that. many thanks @itizir 🙏 |
Hahah, you're welcome! These things just happen... 😃 |
To add to what @itizir said, if you want to verify what version of SQLite is actually being used by your application, you can leverage the |
Hallo,
new SQLite version 3.35 is out with a bunch of interesting things such as maths functions.
I ran the upgrade tool and checked the sqlite3-binding.* files against manually upgraded sources.
Successfully ran all tests.
Hope this helps.