Skip to content

Commit

Permalink
update error message in bulkcopy_sql.go (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
trayo authored and denisenkom committed Oct 14, 2018
1 parent 1eb28af commit 4e0d7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bulkcopy_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (ci *copyin) Query(v []driver.Value) (r driver.Rows, err error) {

func (ci *copyin) Exec(v []driver.Value) (r driver.Result, err error) {
if ci.closed {
return nil, errors.New("errCopyInClosed")
return nil, errors.New("copyin query is closed")
}

if len(v) == 0 {
Expand Down

0 comments on commit 4e0d7dc

Please sign in to comment.