[chore] Bump ncruces/go-sqlite3 to 0.17.1 (#3085)

More linkanme fixes.
This commit is contained in:
Daenney 2024-07-08 22:03:00 +02:00 committed by GitHub
commit 1de41f64f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 50 additions and 6 deletions

View file

@ -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.