Re: [opendbx] Sqlite answering rows all the time?
Brought to you by:
nose
From: Guillermo P. <gui...@gm...> - 2011-08-23 10:37:18
|
Actually, It answers the ODBX_ROW_DONE, but afterwards, if we continue asking for more rows, we get ODBX_ROW_NEXT again. Thanks! On Tue, Aug 23, 2011 at 7:25 AM, Mariano Martinez Peck < mar...@gm...> wrote: > Hi Norbert. We found a problem with Sqlie and I wonder if it is our fault > or not. > Imagine we send a query and we iterate the resultset with odbx_row_fetch > > Now...imagine the query answered 3 rows. We invoke odbx_row_fetch times and > we correctly get the rows. Now...the problem is that it does NOT answers > ODBX_ROW_DONE ("0") but instead ODBX_ROW_NEXT ("1") . Hence, we assume we > can continue asking rows. And in fact, if we continue invoking that function > 3 more times, we get AGAIN those 3 rows... > > So...shouldn't this answer ODBX_ROW_DONE after the 3 times I invoked > odbx_row_fetch ? > > Thanks a lot in advance > > -- > Mariano > http://marianopeck.wordpress.com > > |