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

bugfix: interface conversion: interface {} is *sql.RawBytes, not *sql… #5

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

zr-hebo
Copy link
Owner

@zr-hebo zr-hebo commented Jan 9, 2023

问题:
修复查询 bug
panic: interface conversion: interface {} is *sql.RawBytes, not *sql.NullString

问题原因:
之前处理逻辑在有的地方没有处理 binary类型数据

处理方案:
将 MySQL中 blob和 binary类型数据统一为 binary类型进行处理

@WangXiangUSTC
Copy link

LGTM

@zr-hebo zr-hebo merged commit 6c9fdd9 into master Jan 10, 2023
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.

2 participants