diff options
author | 2024-07-08 22:03:00 +0200 | |
---|---|---|
committer | 2024-07-08 22:03:00 +0200 | |
commit | 1de41f64f2d75a7fb72579e576e23c9c66c6d8fe (patch) | |
tree | be693d9d82c759c1c8586fadac78cc83d4d51d2e /vendor/github.com/ncruces/go-sqlite3/func.go | |
parent | [chore/frontend] Put ActivityPub logo on index page (#3087) (diff) | |
download | gotosocial-1de41f64f2d75a7fb72579e576e23c9c66c6d8fe.tar.xz |
[chore] Bump ncruces/go-sqlite3 to 0.17.1 (#3085)
More linkanme fixes.
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/func.go')
-rw-r--r-- | vendor/github.com/ncruces/go-sqlite3/func.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/func.go b/vendor/github.com/ncruces/go-sqlite3/func.go index 255584a43..ab486e79a 100644 --- a/vendor/github.com/ncruces/go-sqlite3/func.go +++ b/vendor/github.com/ncruces/go-sqlite3/func.go @@ -31,8 +31,9 @@ func (c *Conn) CollationNeeded(cb func(db *Conn, name string)) error { // // This can be used to load schemas that contain // one or more unknown collating sequences. -func (c *Conn) AnyCollationNeeded() { - c.call("sqlite3_anycollseq_init", uint64(c.handle), 0, 0) +func (c Conn) AnyCollationNeeded() error { + r := c.call("sqlite3_anycollseq_init", uint64(c.handle), 0, 0) + return c.error(r) } // CreateCollation defines a new collating sequence. |