mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-15 04:13:01 -06:00
parent
9a7c8926f5
commit
1de41f64f2
7 changed files with 50 additions and 6 deletions
5
vendor/github.com/ncruces/go-sqlite3/func.go
generated
vendored
5
vendor/github.com/ncruces/go-sqlite3/func.go
generated
vendored
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue