Skip to content

_ct_get_client_type: Handle SYBUINTN.#569

Closed
ucko wants to merge 1 commit into
FreeTDS:masterfrom
ucko:ncbi-2024-05-_ct_get_client_type-SYBUINTN
Closed

_ct_get_client_type: Handle SYBUINTN.#569
ucko wants to merge 1 commit into
FreeTDS:masterfrom
ucko:ncbi-2024-05-_ct_get_client_type-SYBUINTN

Conversation

@ucko
Copy link
Copy Markdown
Contributor

@ucko ucko commented May 30, 2024

Split from #555.

Signed-off-by: Aaron M. Ucko <ucko@ncbi.nlm.nih.gov>
Comment thread src/ctlib/ct.c
case SYBUINT8:
return CS_UBIGINT_TYPE;
break;
case SYBUINTN:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

SYBUINTN should be filtered out by tds_get_conversion_type, for the same reason SYBINTN is also not handled in this case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point, thanks. I'd carried this patch forward from an older version that dispatched directly on tds_type and handled SYBINTN but not SYBUINTN.

@ucko ucko closed this 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