Re: [opendbx] Sqlite answering rows all the time?
Brought to you by:
nose
From: Norbert S. <no...@li...> - 2012-05-06 10:39:28
|
Hi all > static int sqlite3_odbx_row_fetch( odbx_result_t* result ) > { > case SQLITE_MISUSE: // Return DONE if function called more often > afterwards > >> sqlite3_finalize( (sqlite3_stmt*) result->generic ); > >> result->generic = NULL; > return ODBX_ROW_DONE; > } There was a change in the SQLite library starting after version 3.6.23.1 (http://sqlite.org/c3ref/step.html) describing this issue. I've added the two suggested lines in sqlite3_odbx_row_fetch() (available since SVN rev. 360). Norbert |