Skip to content

Create tests to ensure truncated buffer work correctly. #185

@birschick-bq

Description

@birschick-bq

Itemized ODBC Interface for handling of Character/Byte Lengths in parameters - Amazon - Confluence (atlassian.net)

Create tests for each of these API to test if a smaller buffer than required behaves correctly.

  • Return buffer size is smaller than necessary
  • Reports a return code of SUCCESS_WITH_INFO
  • Resulting size is the number of characters (or bytes) returned not including the null character.
  • [Optional] String representation of truncated value is correct.
  1. SQLColAttribute
  2. SQLGetInfo
  3. SQLBindCol
  4. SQLBindParameter
  5. SQLGetData
  6. SQLGetDiagField

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions