Skip to content

_blk_get_col_data: Consistently return TDS_FAIL on failure.#562

Merged
freddy77 merged 1 commit into
FreeTDS:masterfrom
ucko:ncbi-2024-05-_blk_get_col_data-TDS_FAIL
May 31, 2024
Merged

_blk_get_col_data: Consistently return TDS_FAIL on failure.#562
freddy77 merged 1 commit into
FreeTDS:masterfrom
ucko:ncbi-2024-05-_blk_get_col_data-TDS_FAIL

Conversation

@ucko
Copy link
Copy Markdown
Contributor

@ucko ucko commented May 30, 2024

Most failure scenarios accidentally returned CS_FAIL, which ironically corresponds to TDS_SUCCESS.

Split from #555.

Most failure scenarios accidentally returned CS_FAIL, which ironically
corresponds to TDS_SUCCESS.

Signed-off-by: Aaron M. Ucko <ucko@ncbi.nlm.nih.gov>
@freddy77
Copy link
Copy Markdown
Contributor

Argh.... given also that the values are different and CS_FAIL is TDS_SUCCESS is not exactly a style change!

@freddy77 freddy77 merged commit de61c5e into FreeTDS:master May 31, 2024
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.

2 participants