Преглед на файлове

conn: fix typo in executeBatch

Vincent Rischmann преди 9 години
родител
ревизия
0846d72689
променени са 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