SAP / go-ase

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

Document context use of tds.NewConn and do not pass context from data… #171

Closed ntnn closed 3 years ago

ntnn commented 3 years ago

…base/sql call

Description

If a user passes a timeout context to database/sql.Open* the connection will close after the timeout finishes or is cancelled. For tds.NewConn this behaviour is desired, for purego.NewConn it is not.

Related issues

Link any related issues here.

Tests