RawrUniversal / xerial

Automatically exported from code.google.com/p/xerial
0 stars 1 forks source link

SQLite getRow returns 1 if I am befor the first ro #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Make a query to the database and on the resultset use getRow() to the the
current row number. 
If you are before the first row, the result is 1
if you are on the first row the result is 2 and so on.

Is this the expected behaviour? 
I think it would be better to return 0 or -1 if I am before the first row
and return the "right" number for each row.

King Regards
Bastian

Original issue reported on code.google.com by bastian....@gmail.com on 1 Oct 2009 at 6:33

GoogleCodeExporter commented 8 years ago
moved to Milestone:sqlite-jdbc

Original comment by taroleo on 12 Nov 2009 at 3:33

GoogleCodeExporter commented 8 years ago
changed the milestone

Original comment by taroleo on 25 Nov 2009 at 11:50

GoogleCodeExporter commented 8 years ago
done

Original comment by taroleo on 8 Dec 2009 at 7:52