mirror of https://github.com/mattn/go-sqlite3.git
Compare commits
1 Commits
5fc124438d
...
ad08b07ade
Author | SHA1 | Date |
---|---|---|
Simon Ser | ad08b07ade |
|
@ -930,7 +930,6 @@ func (c *SQLiteConn) query(ctx context.Context, query string, args []driver.Name
|
|||
s.(*SQLiteStmt).cls = true
|
||||
na := s.NumInput()
|
||||
if len(args)-start < na {
|
||||
s.Close()
|
||||
return nil, fmt.Errorf("not enough args to execute query: want %d got %d", na, len(args)-start)
|
||||
}
|
||||
// consume the number of arguments used in the current
|
||||
|
|
Loading…
Reference in New Issue