func()

in go/statement.go [38:49]


func (s *Statement) Close() error {
	if s.connection == nil || s.closed {
		// driver.Stmt.Close can be called more than once, thus this function
		// has to be idempotent.
		// See also Issue #450 and golang/go#16019.
		return driver.ErrBadConn
	}
	s.query = ""
	s.closed = true
	s.numInput = 0
	return nil
}