diff options
author | 2024-09-14 16:36:25 +0200 | |
---|---|---|
committer | 2024-09-14 16:36:25 +0200 | |
commit | 4fa0d412023ffdefc4ba63eecccd4b74e712ff7d (patch) | |
tree | 02ad2eb48c195eb52e22e6152909f45c7cae58f6 /internal/db/sqlite | |
parent | [feature/frontend] Add dark version of brutalist theme (#3294) (diff) | |
download | gotosocial-4fa0d412023ffdefc4ba63eecccd4b74e712ff7d.tar.xz |
[chore] Update go-sqlite3 to 0.18.3 (#3295)
* [chore] Update go-sqlite3 to 0.18.3
* [chore] Fix getting the sqlite3.Conn
Diffstat (limited to 'internal/db/sqlite')
-rw-r--r-- | internal/db/sqlite/driver.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/db/sqlite/driver.go b/internal/db/sqlite/driver.go index cea976d94..ca8ccf8ca 100644 --- a/internal/db/sqlite/driver.go +++ b/internal/db/sqlite/driver.go @@ -25,7 +25,6 @@ import ( "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/ncruces/go-sqlite3" sqlite3driver "github.com/ncruces/go-sqlite3/driver" _ "github.com/ncruces/go-sqlite3/embed" // embed wasm binary _ "github.com/ncruces/go-sqlite3/vfs/memdb" // include memdb vfs @@ -110,7 +109,7 @@ func (c *sqliteConn) ExecContext(ctx context.Context, query string, args []drive func (c *sqliteConn) Close() (err error) { // Get acces the underlying raw sqlite3 conn. - raw := c.connIface.(sqlite3.DriverConn).Raw() + raw := c.connIface.(sqlite3driver.Conn).Raw() // see: https://www.sqlite.org/pragma.html#pragma_optimize const onClose = "PRAGMA analysis_limit=1000; PRAGMA optimize;" |