]> granicus.if.org Git - postgresql/commit
ResultSet.moveToCurrentRow was checking the cached updateability flag
authorKris Jurka <books@ejurka.com>
Mon, 13 Sep 2004 07:14:26 +0000 (07:14 +0000)
committerKris Jurka <books@ejurka.com>
Mon, 13 Sep 2004 07:14:26 +0000 (07:14 +0000)
commit5e8046cbc94ca20672b8d1d8dc30d56dcfdbd7ba
treeea7fa339b441f103ba247026f53c86ac54a602b9
parent6090b70acefb5b111f88449739f43892de59f8cd
ResultSet.moveToCurrentRow was checking the cached updateability flag
assuming it had been set instead of correctly calling the
isUpdateable() method which sets the flag if needed.  This usually
worked because moveToCurrentRow is only useful after a
moveToInsertRow call which would set the flag, but this is not
required.

David Bucciarelli
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java