diff options
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/vfs/vfs.go')
| -rw-r--r-- | vendor/github.com/ncruces/go-sqlite3/vfs/vfs.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/vfs/vfs.go b/vendor/github.com/ncruces/go-sqlite3/vfs/vfs.go index 569346fb2..db53b6f4a 100644 --- a/vendor/github.com/ncruces/go-sqlite3/vfs/vfs.go +++ b/vendor/github.com/ncruces/go-sqlite3/vfs/vfs.go @@ -470,6 +470,8 @@ func vfsErrorCode(ctx context.Context, err error, code _ErrorCode) _ErrorCode { switch v := reflect.ValueOf(err); v.Kind() { case reflect.Uint8, reflect.Uint16: code = _ErrorCode(v.Uint()) + default: + sys = err } } |
