mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-14 10:47:28 -06:00
bump ncruces/go-sqlite3 to v0.20.2 (#3524)
This commit is contained in:
parent
b84637801a
commit
45e1609377
27 changed files with 963 additions and 311 deletions
10
vendor/github.com/ncruces/go-sqlite3/config.go
generated
vendored
10
vendor/github.com/ncruces/go-sqlite3/config.go
generated
vendored
|
|
@ -2,6 +2,7 @@ package sqlite3
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/tetratelabs/wazero/api"
|
||||
|
|
@ -70,6 +71,15 @@ func logCallback(ctx context.Context, mod api.Module, _, iCode, zMsg uint32) {
|
|||
}
|
||||
}
|
||||
|
||||
// Log writes a message into the error log established by [Conn.ConfigLog].
|
||||
//
|
||||
// https://sqlite.org/c3ref/log.html
|
||||
func (c *Conn) Log(code ExtendedErrorCode, format string, a ...any) {
|
||||
if c.log != nil {
|
||||
c.log(code, fmt.Sprintf(format, a...))
|
||||
}
|
||||
}
|
||||
|
||||
// FileControl allows low-level control of database files.
|
||||
// Only a subset of opcodes are supported.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue