From 4e0d7dc8888fbb59764060e99b7b68e77a6f9698 Mon Sep 17 00:00:00 2001 From: Travis Yoder Date: Sun, 14 Oct 2018 07:49:52 -0700 Subject: [PATCH] update error message in bulkcopy_sql.go (#421) --- bulkcopy_sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bulkcopy_sql.go b/bulkcopy_sql.go index 4824df9a..709505b2 100644 --- a/bulkcopy_sql.go +++ b/bulkcopy_sql.go @@ -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 {