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

added types for int8, int16, Time for mysql driver #26

Closed
wants to merge 2 commits into from
Closed

added types for int8, int16, Time for mysql driver #26

wants to merge 2 commits into from

Conversation

crisward
Copy link
Contributor

@crisward crisward commented Dec 4, 2016

I get an error on mysql without these.
Related to this - crystal-lang/crystal-mysql#15

@bcardiff
Copy link
Member

bcardiff commented Dec 7, 2016

Time will arrive to DB::Any. I am a bit hesitant regarding Int8/Int16.

Int8/Int16 and specially UInt8/16 are mainly for interfacing with C.
Some dbs support even unsigned, but I am not they all should be added here.

@crisward I am not following why without this PR you get errors in mysql. Can you share some dump/log?

@crisward
Copy link
Contributor Author

crisward commented Dec 7, 2016

@bcardiff
Copy link
Member

bcardiff commented Dec 7, 2016

@crisward Int8/16 stories should be fixed at crystal-mysql@master. check crystal-lang/crystal-mysql#18 .

I though this would been covered by this spec but the case without unions in the exec args didn't raise the issue you point in the error.

If that is ok, then we could close this issue since mysql can extend the type to be used outside DB::Any.

@crisward
Copy link
Contributor Author

crisward commented Dec 7, 2016

Thanks, that fixes it. I'll close.

@crisward crisward closed this Dec 7, 2016
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