Skip to content

manage TDS_DATA_COLUMNSTATUS in ValueReader#235

Open
tangocoder wants to merge 1 commit into
DataAction:masterfrom
tangocoder:fix/handle-tds-data-columnstatus
Open

manage TDS_DATA_COLUMNSTATUS in ValueReader#235
tangocoder wants to merge 1 commit into
DataAction:masterfrom
tangocoder:fix/handle-tds-data-columnstatus

Conversation

@tangocoder

@tangocoder tangocoder commented Feb 5, 2025

Copy link
Copy Markdown

This PR add a basic management for TDS_DATA_COLUMNSTATUS capability in ValueReader.

Context:
I discovered an issue connecting to a Sybase IQ database, trying to execute a select statement and read the results.
and after debugging, and reading TDS protocol specifications:

if the TDS_DATA_COLUMNSTATUS request capability is enabled, then all datatype representations begin with a status byte.

the format token sent by server has TDS_ROW_COLUMNSTATUS flag in RowStatus for string fields,
not reading this status byte causes stream read errors.

@clareshep clareshep left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This resolved the error for me too

@Drexe

Drexe commented Jul 16, 2025

Copy link
Copy Markdown

it's possible de merge this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants