Skip to content

Commit

Permalink
[CONJ-535] resultset.getInt() throwing an error if BIT data type valu…
Browse files Browse the repository at this point in the history
…e is bigger than Integer.MAX_VALUE
  • Loading branch information
rusher committed Oct 4, 2017
1 parent dac87b3 commit 28773e5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -3362,7 +3362,7 @@ private long parseBit() {
long val = 0;
int ind = 0;
do {
val += (row.buf[row.pos + ind] & 0xff) << (8 * (row.length - ++ind));
val += ((long) (row.buf[row.pos + ind] & 0xff)) << (8 * (row.length - ++ind));
} while (ind < row.length);
return val;
}
Expand Down

0 comments on commit 28773e5

Please sign in to comment.