Skip to content

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