internal/protocol/error.go
func (e *hdbErrors) SetIdx(idx int) {
	switch {
	case idx < 0:
		e.idx = 0
	case idx >= e.numArg:
		e.idx = e.numArg - 1
	default:
		e.idx = idx
	}
}
func (e *hdbErrors) SetIdx(idx int) {
	switch {
	case idx < 0:
		e.idx = 0
	case idx >= e.numArg:
		e.idx = e.numArg - 1
	default:
		e.idx = idx
	}
}
func ( e * hdbErrors ) SetIdx ( idx int ) { switch { case idx < 0 : e . idx = 0 case idx >= e . numArg : e . idx = e . numArg - 1 default : e . idx = idx } }
// SetIdx implements the driver.Error interface.
SetIdx implements the driver . Error interface .