File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/interfaces/jdbc/org/postgresql/jdbc1 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -488,13 +488,13 @@ public Timestamp getTimestamp(int columnIndex) throws SQLException
488488
489489 SimpleDateFormat df = null ;
490490
491- if (sbuf .length ()>23 && subsecond ) {
491+ if (s .length ()>23 && subsecond ) {
492492 df = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss.SSSzzzzzzzzz" );
493- } else if (sbuf .length ()>23 && !subsecond ) {
493+ } else if (s .length ()>23 && !subsecond ) {
494494 df = new SimpleDateFormat ("yyyy-MM-dd HH:mm:sszzzzzzzzz" );
495- } else if (sbuf .length ()>10 && subsecond ) {
495+ } else if (s .length ()>10 && subsecond ) {
496496 df = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss.SSS" );
497- } else if (sbuf .length ()>10 && !subsecond ) {
497+ } else if (s .length ()>10 && !subsecond ) {
498498 df = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss" );
499499 } else {
500500 df = new SimpleDateFormat ("yyyy-MM-dd" );
You can’t perform that action at this time.
0 commit comments