Skip to content

Commit

Permalink
Pass travis
Browse files Browse the repository at this point in the history
  • Loading branch information
philipglazman committed Jul 8, 2020
1 parent 538adf7 commit ad163b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type copyin struct {
buffer []byte
rowData chan []byte
done chan bool
result driver.Result
driver.Result

closed bool

Expand Down Expand Up @@ -206,13 +206,13 @@ func (ci *copyin) setError(err error) {

func (ci *copyin) setResult(result driver.Result) {
ci.Lock()
ci.result = result
ci.Result = result
ci.Unlock()
}

func (ci *copyin) getResult() driver.Result {
ci.Lock()
result := ci.result
result := ci.Result
if result == nil {
return driver.RowsAffected(0)
}
Expand Down

0 comments on commit ad163b1

Please sign in to comment.