Skip to content

Fix DECFLOAT conversion for fetch APIs (#1075) - #1076

Open
Earammak wants to merge 1 commit into
ibmdb:masterfrom
Earammak:decfloatissue1075
Open

Earammak wants to merge 1 commit into
ibmdb:masterfrom
Earammak:decfloatissue1075

Conversation

@Earammak

@Earammak Earammak commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Fix DECFLOAT bound-column buffer allocation

The issue was caused by allocating the bound-column buffer based on the column display size. In some cases, the display size was insufficient for the DECFLOAT string representation generated by the CLI conversion routines, resulting in fetch failures.

Fix:

  • Use MAX_DECFLOAT_LENGTH to allocate sufficient buffer space for DECFLOAT values.
  • Ensure adequate space for DECFLOAT value conversion during fetch operations.
  • Prevent fetch failures when DECFLOAT values have longer string representations.

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.

CLI0111E on fetch of ordinary DECFLOAT values: bound-column buffer sized from precision+3, not display size

1 participant