I think I may have found a problem and it is in the way that the library
is built.

By default if TDS version is not specified it will set the TDS version
to 5.0.  There is a way to reset the version of connection after the
login, but there doesn't appear to be any calls to the function that
does it.

With this the TDS connection version is set to the default from the
build which is 5.0 and hence will set the max_len of the varchar,
varbinary, etc fields to 255 vs 8000 for the version of TDS 7+.

-- 
tdsodbc truncates varchar fields to 255 characters
https://bugs.launchpad.net/bugs/613238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to