Skip to content
Permalink
Browse files

[CONJ-659] correction of nanosecond ATOI handling to permit resultset…

….getTimestamp()

(cherry picked from commit af730b0)
  • Loading branch information...
rusher committed Dec 19, 2018
1 parent 46a985c commit a4724b4670388bb504c8b04e610ca9c0c9c395da
@@ -639,7 +639,7 @@ public Timestamp getInternalTimestamp(ColumnInformation columnInfo, Calendar use

//fix non leading tray for nanoseconds
if (nanoBegin > 0) {
for (int begin = length - (nanoBegin - pos); begin < 6; begin++) {
for (int begin = 0; begin < 6 - (pos + length - nanoBegin - 1); begin++) {
timestampsPart[6] = timestampsPart[6] * 10;
}
}

0 comments on commit a4724b4

Please sign in to comment.
You can’t perform that action at this time.