forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf107174
committed
Included is a patch that fixes a bug introduced in the lastest version
(1.22) of interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java. Thatchange removed a line that set the variable s to the value of thestringbuffer. This fix changes the following if checks to check thelength of the stringbuffer instead of s, since s no longer contains thestring the if conditions are expecting.The bug manifests itself in getTimestamp() loosing the timezoneinformation of timestamps selected from the database, thereby causingthe time to be incorrect.Barry Lind1 parent2e3c56a commitf107174
File tree
2 files changed
+8
-8
lines changed- src/interfaces/jdbc/org/postgresql
- jdbc1
- jdbc2
2 files changed
+8
-8
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
488 | 488 |
| |
489 | 489 |
| |
490 | 490 |
| |
491 |
| - | |
| 491 | + | |
492 | 492 |
| |
493 |
| - | |
| 493 | + | |
494 | 494 |
| |
495 |
| - | |
| 495 | + | |
496 | 496 |
| |
497 |
| - | |
| 497 | + | |
498 | 498 |
| |
499 | 499 |
| |
500 | 500 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
499 | 499 |
| |
500 | 500 |
| |
501 | 501 |
| |
502 |
| - | |
| 502 | + | |
503 | 503 |
| |
504 |
| - | |
| 504 | + | |
505 | 505 |
| |
506 |
| - | |
| 506 | + | |
507 | 507 |
| |
508 |
| - | |
| 508 | + | |
509 | 509 |
| |
510 | 510 |
| |
511 | 511 |
| |
|
0 commit comments
Comments
(0)