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

fix(codegen/golang): Use int8 for MySQL TINYINT #3298

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

kyleconroy
Copy link
Collaborator

Fixes #3201

@kyleconroy kyleconroy merged commit 2b5b7e0 into main Mar 28, 2024
6 of 8 checks passed
@kyleconroy kyleconroy deleted the kyle/tinyint-int8 branch March 28, 2024 18:09
@ariesdevil
Copy link

ariesdevil commented May 30, 2024

What if sqlc.narg('A_TINYINT_COL')? cause golang sql package has no NullInt8, just a NullByte but byte is uint8.

lisitsky pushed a commit to lisitsky/sqlc that referenced this pull request Jun 21, 2024
This pull request was closed.
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.

MySQL: Proper type for YEAR and TINYINT
2 participants