[opendbx] Sqlite answering rows all the time?
Brought to you by:
nose
From: Mariano M. P. <mar...@gm...> - 2011-08-23 10:25:11
|
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 |