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

store json as string in rows events #658

Merged
merged 3 commits into from Dec 22, 2021

Conversation

D3Hunter
Copy link
Contributor

store JSON value as string instead of []byte to make it easier to use in query statement, as go mysql driver prepends []byte values with _binary, and fails with ERROR 3144 (22032): Cannot create a JSON value from a string with CHARACTER SET 'binary'. if the datatype is []byte

@D3Hunter
Copy link
Contributor Author

/cc @lance6716

@lance6716
Copy link
Collaborator

trigger CI

@lance6716 lance6716 closed this Dec 22, 2021
@lance6716 lance6716 reopened this Dec 22, 2021
@lance6716 lance6716 merged commit 0bb0b8d into go-mysql-org:master Dec 22, 2021
@D3Hunter D3Hunter deleted the json-store-as-string branch December 22, 2021 09:26
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.

None yet

2 participants