Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upBigDecimal to_sql value has an issue #1092
Comments
Eijebong
added
bug
postgres
labels
Aug 12, 2017
This comment has been minimized.
This comment has been minimized.
|
I think that @Eijebong was able to isolate the issue to values smaller than 1/10000. I haven't tested this yet but it seems right! |
This comment has been minimized.
|
Oh that 10k coding... Seems like we need tests sub 10^-4 and super 10^4 thus. |
This comment has been minimized.
|
I opened #1096 to fix this one |
This comment has been minimized.
|
Fixed by #1096 @killercup Should we open another issue asking to add more fuzzing to decimal tests ? |
Eijebong
closed this
Aug 14, 2017
This comment has been minimized.
This comment has been minimized.
|
I forgot about this one... Well now they're linked, I think it's ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lancecarlson commentedAug 12, 2017
•
edited by Eijebong
Setup
Versions
rustc 1.20.0-nightly (086eaa78e 2017-07-15)
master (as of ce82995)
postgres
Fedora
Feature Flags
postgres
Problem Description
I got this error when trying to parse this value: 0.000074. Not sure what the culprit is. I went back and stuck this in the test suit too: