Re: jdbc2 bug in absolute (ResultSet.java)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Travis Bauer <trbauer(at)indiana(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: jdbc2 bug in absolute (ResultSet.java)
Date: 2000-06-13 09:09:53
Message-ID: 200006130909.FAA27382@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> The "absolute" method is called by the relative method to change the
> cursor position. However, I noticed that absolute does not change
> current_row, it only loads the data.
>
> Shoudn't absolute contain the following line :
>
> current_row=index;
>

The current code shows:

current_row=internalIndex;

Seems it has been fixed by someone. Yes, I see now that the 7.0.0
version has this missing.

Not sure how to handle this. The fix will be in 7.1. Just not sure if
I should back-patch this into 7.0.X because there are other fixes in
those java patches I don't understand.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2000-06-13 09:15:20 Re: libpgtcl
Previous Message Bruce Momjian 2000-06-13 07:41:19 Re: Small bug with numeric in 7.0 (also in 6.5.3)