소스 검색

Merge pull request #848 from vrischmann/master

conn: fix typo in executeBatch
Chris Bannister 9 년 전
부모
커밋
5d087d1f0c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      conn.go

+ 1 - 1
conn.go

@@ -990,7 +990,7 @@ func (c *Conn) executeBatch(batch *Batch) *Iter {
 			}
 
 			if len(values) != info.request.actualColCount {
-				return &Iter{err: fmt.Errorf("gocql: batch statment %d expected %d values send got %d", i, info.request.actualColCount, len(values))}
+				return &Iter{err: fmt.Errorf("gocql: batch statement %d expected %d values send got %d", i, info.request.actualColCount, len(values))}
 			}
 
 			b.preparedID = info.id