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

do not assume that the value is a blob type if it is bigger than 32kb #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nanexo
Copy link

@nanexo nanexo commented Jul 7, 2021

What I have:
I have a column defined as BLOB SUB_TYPE TEXT. The default charset of the database is UTF-8.

What I'm trying to do:
Persisting a string thats > 32kb in size.

What happens:
I get an error message Malformed string.

Why does it happen?
I think by setting the sSQLType to SQL_BLOB to string is not properly encoded and thus unable to be saved.
The limit of 32kb seems arbitrary and unnecessary, because we can persist strings of any length.
Removing those lines solves the problem on my end.

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