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

Enum Support #5

Merged
merged 1 commit into from
Jan 28, 2013
Merged

Enum Support #5

merged 1 commit into from
Jan 28, 2013

Conversation

patrick-mcdougle
Copy link
Contributor

Added ENUM support.

This will only work if the different choices for the enum field are in the 0-127 ascii character set. I cannot promise that it will work if any of the enum choices are outside of that set.

fixes #4

Added ENUM support.

This will only work if the different choices for the enum field are in the 0-127 ascii character set. I cannot promise that it will work if any of the enum choices are outside of that set.
nicjansma added a commit that referenced this pull request Jan 28, 2013
@nicjansma nicjansma merged commit d25c4f0 into nicjansma:master Jan 28, 2013
@nicjansma
Copy link
Owner

Awesome, thanks! After I merged it in I played around with it a bit and made the following changes:

I think with your change the 2nd commented-out block should be a 'continue' rather than 'break' so columns after that one would get converted too.

Then I was thinking that while we could just skip the ENUM type entirely, it still "leaves" it in the old collation. I've updated the script again to just convert the ENUM data-type immediately without using a binary-conversion first.

Thanks Patrick!

@patrick-mcdougle
Copy link
Contributor Author

Yeah, continue is surely what should have been written. Good catch (and shame on me)!

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.

Enum Support
2 participants