Skip to content

Tiny/medium/long blobs are not converted correctly, MULTIPOLYGON test suite was checking against wrong value #215

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

Merged
merged 3 commits into from
Dec 14, 2017

Conversation

kilroy42
Copy link

When using use_unicode, results from tiny/medium/long blobs were not converted correctly.

@vtermanis
Copy link
Contributor

I just came across the same issue. For me it happened when calling the following two queries:

SET @a = 'abc';
SELECT @a;

The 2nd query would result in b'abc' (type MEDIUM_BLOB but no binary flag) rather than 'abc'. In comparison, PyMySQL does decode it as expected.

@methane methane merged commit 73ccdcd into PyMySQL:master Dec 14, 2017
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.

3 participants