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

Truncated binary data while scanning image types #67

Open
ghost opened this issue May 13, 2018 · 2 comments
Open

Truncated binary data while scanning image types #67

ghost opened this issue May 13, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented May 13, 2018

Hi, I'm using SQL Server 2017, I have issues while reading image types. Sometimes I get full data, sometimes partial data or no data at all. I have tried denisenkom/go-mssqldb and works fine. I'm using freetds 1.00.38-5.fc28.x86_64 (Fedora 28)

@remote-coder
Copy link

@anandbose Do you have specific predictable/reproducible examples, where the behavior can be exhibited via a test?

@umnyaga
Copy link

umnyaga commented Oct 28, 2022

I have similar problem. while reading image types with large data amount, they get truncated to 64512 length. In freetds there is a parameter which controls max size and I think that causing the problem. Unfortunately I do not know how to change (increase) it's value in gofreetds. Any thoughts?

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

No branches or pull requests

2 participants