SAP / go-ase

SAP ASE Database Client for Go
Apache License 2.0
25 stars 14 forks source link

Mark rows as closed to prevent stalling by attempting to read packages #198

Closed ntnn closed 3 years ago

ntnn commented 3 years ago

Description

The application may stall when a rows object is accessed but no rows are sent by ASE.

If possible go-ase marks rows as already closed to prevent stalling.

Returning a nil rows isn't viable as this would require additional code on the users side to handle a nil value.

Related issues

Requires SAP/go-dblib#33

Tests