1 Star 0 Fork 0

ggluck / go-sqlite3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
sqlite3_load_extension_omit.go 587 Bytes
一键复制 编辑 原始数据 按行查看 历史
Gert-Jan Timmer 提交于 2018-05-30 22:36 . ADD: User authentication
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
// +build sqlite_omit_load_extension
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_OMIT_LOAD_EXTENSION
*/
import "C"
import (
"errors"
)
func (c *SQLiteConn) loadExtensions(extensions []string) error {
return errors.New("Extensions have been disabled for static builds")
}
func (c *SQLiteConn) LoadExtension(lib string, entry string) error {
return errors.New("Extensions have been disabled for static builds")
}
1
https://gitee.com/ggluck/go-sqlite3.git
git@gitee.com:ggluck/go-sqlite3.git
ggluck
go-sqlite3
go-sqlite3
master

搜索帮助