Skip to content

fix long column data fetching - #490

Open
NGrey5 wants to merge 1 commit into
IBM:mainfrom
NGrey5:fix/long-column-fetch
Open

fix long column data fetching#490
NGrey5 wants to merge 1 commit into
IBM:mainfrom
NGrey5:fix/long-column-fetch

Conversation

@NGrey5

@NGrey5 NGrey5 commented Aug 16, 2026

Copy link
Copy Markdown

Batched cursor fetches are calling SQLSetPos for columns that contain LONG data even when the queries do not contain LONG data. This causes some drivers to fail as the SQLSetPos call is unnecessary.

These changes mark StatementData with has_long_data if any of the columns in it are LONG. The data is then checked if has_long_data = true before calling SQLSetPos

Signed-off-by: Nick Grey <19329407+NGrey5@users.noreply.github.com>
@NGrey5
NGrey5 force-pushed the fix/long-column-fetch branch from e027c01 to c9c0e7b Compare August 16, 2026 21:26
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.

1 participant