summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-05-17 04:10:02 +0000
committerBruce Momjian <bruce@momjian.us>2001-05-17 04:10:02 +0000
commitf107174e8c722b791678a2f46da7164a9e2e1920 (patch)
tree6c8c1cd46e32b30ddee95a8697b7ea6f782b5f20 /src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
parent2e3c56a0eac55d813e93c38aeabb98822c6d3519 (diff)
downloadpostgresql-f107174e8c722b791678a2f46da7164a9e2e1920.tar.gz
Included is a patch that fixes a bug introduced in the lastest version
(1.22) of interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java. That change removed a line that set the variable s to the value of the stringbuffer. This fix changes the following if checks to check the length of the stringbuffer instead of s, since s no longer contains the string the if conditions are expecting. The bug manifests itself in getTimestamp() loosing the timezone information of timestamps selected from the database, thereby causing the time to be incorrect. Barry Lind
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java')
0 files changed, 0 insertions, 0 deletions