Bump github.com/mattn/go-sqlite3 to fix musl builds (#8156)

See https://github.com/mattn/go-sqlite3/issues/1164

Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
This commit is contained in:
Sawjan Gurung
2024-01-09 11:17:03 +05:45
committed by GitHub
co-authored by André Duffeck
parent 94407c6e0b
commit a787ce4373
36 changed files with 54277 additions and 28398 deletions
+20
View File
@@ -0,0 +1,20 @@
// +build libsqlite3,!sqlite_serialize
package sqlite3
import (
"errors"
)
/*
#cgo CFLAGS: -DSQLITE_OMIT_DESERIALIZE
*/
import "C"
func (c *SQLiteConn) Serialize(schema string) ([]byte, error) {
return nil, errors.New("sqlite3: Serialize requires the sqlite_serialize build tag when using the libsqlite3 build tag")
}
func (c *SQLiteConn) Deserialize(b []byte, schema string) error {
return errors.New("sqlite3: Deserialize requires the sqlite_serialize build tag when using the libsqlite3 build tag")
}