Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BCP truncation surveys and logistical support for them. #598

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ucko
Copy link
Contributor

@ucko ucko commented Jul 3, 2024

These were helpful in crafting 3176598 and #595.

ucko added 2 commits July 3, 2024 15:10
... for comparison purposes.

* sqldb.h: Don't insist on the accompanying sybdb.h, which might clash
  with Sybase headers or result in skew with Sybase libraries.
* sqlfront.h: Likewise for sybfront.h; moreover, additionally pull in
  sybdb.h and don't rely on having USHORT.
* ctlib tests: Use centrally defined UT_{CS,BLK}_VERSION macros rather
  than hardcoding {CS,BLK}_VERSION_100, which could result in
  blk_describe failure when run against modern servers.  Allow both to
  be overridden, but default UT_CS_VERSION to CS_CURRENT_VERSION where
  available (falling back on CS_VERSION_160) and UT_BLK_VERSION to
  UT_CS_VERSION because the numbers always match up in practice.

Signed-off-by: Aaron M. Ucko <[email protected]>
They don't enforce specific results, just note them all in tabular
form to facilitate comparison with Sybase libraries' behavior.

Signed-off-by: Aaron M. Ucko <[email protected]>
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