SAP / go-ase

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

Fix MessageNumber, add MessageSeverity and add message handler for server/client #27

Closed ntnn closed 5 years ago

ntnn commented 5 years ago

Description

  1. Set MessageNumber as uint64, as defined in Client-Library
  2. Add MessageSeveriy, which is used to distinguish between debug and other messages
  3. Add handler for cgoase to display messages sent by the server (e.g. from dbcc) and Client-Library errors.

How was the patch tested?

Manually - I haven't written integration tests for cgoase yet.