Przeglądaj źródła

Merge pull request #848 from vrischmann/master

conn: fix typo in executeBatch
Chris Bannister 9 lat temu
rodzic
commit
5d087d1f0c
1 zmienionych plików z 1 dodań i 1 usunięć
  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