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

types/util: use statement context to handle truncate error. #2147

Merged
merged 4 commits into from
Dec 1, 2016

Conversation

coocood
Copy link
Member

@coocood coocood commented Dec 1, 2016

use statement context to handle cast decimal truncate error.

We can't properly handle truncate error now, so set cast decimal length to largest value to prevent
truncate error. But this is not the correct legnth, it will be fixed soon.
@coocood coocood changed the title parser: prevent cast decimal truncate error. types/util: use statement context to handle truncate error. Dec 1, 2016
@hanfei1991
Copy link
Member

LGTM

@zimulala
Copy link
Contributor

zimulala commented Dec 1, 2016

LGTM

@coocood coocood merged commit e288b35 into master Dec 1, 2016
@coocood coocood deleted the coocood/cast-decimal-length branch December 1, 2016 11:11
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.

3 participants