Skip to content

Commit

Permalink
Merge pull request #2799 from VertexToEdge/bugfix_v0.22.0_bump-gorqli…
Browse files Browse the repository at this point in the history
…te-to-a8a425b1a6aa

Bump github.com/rqlite/gorqlite from v0.0.0-20210514125552-08ff1e76b22f to v0.0.0-20240122221808-a8a425b1a6aa
  • Loading branch information
abhishek9686 authored Feb 6, 2024
2 parents ecd769e + ea235a5 commit cba55e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions database/rqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ func initRqliteDatabase() error {
if err != nil {
return err
}
RQliteDatabase = conn
RQliteDatabase.SetConsistencyLevel("strong")
RQliteDatabase = *conn
RQliteDatabase.SetConsistencyLevel(gorqlite.ConsistencyLevelStrong)
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/gorilla/mux v1.8.1
github.com/lib/pq v1.10.9
github.com/mattn/go-sqlite3 v1.14.19
github.com/rqlite/gorqlite v0.0.0-20210514125552-08ff1e76b22f
github.com/rqlite/gorqlite v0.0.0-20240122221808-a8a425b1a6aa
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
github.com/stretchr/testify v1.8.4
github.com/txn2/txeh v1.5.5
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rqlite/gorqlite v0.0.0-20210514125552-08ff1e76b22f h1:BSnJgAfHzEp7o8PYJ7YfwAVHhqu7BYUTggcn/LGlUWY=
github.com/rqlite/gorqlite v0.0.0-20210514125552-08ff1e76b22f/go.mod h1:UW/gxgQwSePTvL1KA8QEHsXeYHP4xkoXgbDdN781p34=
github.com/rqlite/gorqlite v0.0.0-20240122221808-a8a425b1a6aa h1:hxMLFbj+F444JAS5nUQxTDZwUxwCRqg3WkNqhiDzXrM=
github.com/rqlite/gorqlite v0.0.0-20240122221808-a8a425b1a6aa/go.mod h1:xF/KoXmrRyahPfo5L7Szb5cAAUl53dMWBh9cMruGEZg=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
Expand Down

0 comments on commit cba55e6

Please sign in to comment.