diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-06-20 22:39:07 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-06-20 22:39:07 +0100 |
commit | de6d2c524430287c699aaa898c1325da6afea539 (patch) | |
tree | f78eb841208d667668a7bc92a9290d693cc7103b /vendor/github.com/mattn/go-sqlite3/sqlite3_omit_load_extension.go | |
parent | eb99016e1629e690e55633de6fc63a14c53e7ea2 (diff) |
Update dependencies
Diffstat (limited to 'vendor/github.com/mattn/go-sqlite3/sqlite3_omit_load_extension.go')
-rw-r--r-- | vendor/github.com/mattn/go-sqlite3/sqlite3_omit_load_extension.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_omit_load_extension.go b/vendor/github.com/mattn/go-sqlite3/sqlite3_omit_load_extension.go deleted file mode 100644 index c7b3bfe..0000000 --- a/vendor/github.com/mattn/go-sqlite3/sqlite3_omit_load_extension.go +++ /dev/null @@ -1,23 +0,0 @@ -// 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") -} |