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

ODBC: SQL Anywhere Support #4057

Closed
obiltschnig opened this issue Jun 10, 2023 · 0 comments
Closed

ODBC: SQL Anywhere Support #4057

obiltschnig opened this issue Jun 10, 2023 · 0 comments

Comments

@obiltschnig
Copy link
Member

obiltschnig commented Jun 10, 2023

Submitted via email by Harald Fjerdingstad:

To make the POCO ODBC classes work for SAP SQL Anywhere, we always
need to make a small modification to the source-code in the file
.\POCO\Data\ODBC\src\Binder.cpp at line 521 in the function
"Binder::getColSizeAndPrecision":

Original code: "if (actualSize > colSize)"
We change it to: "if (found && actualSize > colSize)"

Without this change POCO always throws the LengthExceededException
at line 523 in Binder.cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant