DataAction / AdoNetCore.AseClient

AdoNetCore.AseClient - a .NET Core DB Provider for SAP ASE
Apache License 2.0
106 stars 44 forks source link

Add support for TDS_ROWFMT #161

Closed anat0li closed 4 years ago

anat0li commented 4 years ago

The current implementation supports TDS_ROWFMT2 formatting token only. But ignoring TDSROWFMT token results in having null format reference. And reading the next row with null format reference results in throwing the exception "Object reference not set to an instance of an object."_

In my particular case, the crash happened while getting sp_loginconfig stored procedure result from Sybase ACE 15.5. After adding support for TDS_ROWFMT token I was able to read that stored procedure result without a problem.