diff options
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/vfs/shm_copy.go')
| -rw-r--r-- | vendor/github.com/ncruces/go-sqlite3/vfs/shm_copy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/vfs/shm_copy.go b/vendor/github.com/ncruces/go-sqlite3/vfs/shm_copy.go index db8ddb4b8..8e40aafb7 100644 --- a/vendor/github.com/ncruces/go-sqlite3/vfs/shm_copy.go +++ b/vendor/github.com/ncruces/go-sqlite3/vfs/shm_copy.go @@ -31,8 +31,8 @@ const ( // // https://sqlite.org/walformat.html#the_wal_index_file_format -func (s *vfsShm) shmAcquire(ptr *_ErrorCode) { - if ptr != nil && *ptr != _OK { +func (s *vfsShm) shmAcquire(errp *error) { + if errp != nil && *errp != nil { return } if len(s.ptrs) == 0 || shmEqual(s.shadow[0][:], s.shared[0][:]) { |
