Skip to content

MySQL Broken Dates :( #20

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

Merged
merged 1 commit into from
May 15, 2013
Merged

MySQL Broken Dates :( #20

merged 1 commit into from
May 15, 2013

Conversation

bjoernhaeuser
Copy link
Collaborator

Hey!

We just hat another problem with broken Dates in MySQL: 21.01.0000
The routines I added did not cover this issue, therefore I added some more code.

I also thought that maybe parsing of some values should not fail the whole parsing, but thats another issue.

What do you think?

Thanks
Björn

@julien-duponchelle
Copy link
Owner

julien-duponchelle added a commit that referenced this pull request May 15, 2013
@julien-duponchelle julien-duponchelle merged commit 81e90ba into julien-duponchelle:master May 15, 2013
@julien-duponchelle
Copy link
Owner

I push a test for this:
d70bc3d

@julien-duponchelle
Copy link
Owner

I also thought that maybe parsing of some values should not fail the whole parsing, but thats another issue.

I think we should support all cases. For some use case we can't lost a value and it's better to crash. But if we see a lot of new crash perhaps a skip_error option can be add in the futur.

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