Skip to content

Commit

Permalink
oracle jdbc driver maps scale to -127 and breaks dbfill
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Aug 11, 2016
1 parent 955087a commit cd4d97d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -826,7 +826,7 @@ private boolean randomBoolean() {
}

private BigDecimal randomBigDecimal(int size, int digits) {
if (size == 0 && digits == 0) {
if (size <= 0 && (digits <= 0)) {
// set the values to something reasonable
size = 10;
digits = 6;
Expand Down

0 comments on commit cd4d97d

Please sign in to comment.