> On Dec 13, 2016, at 8:01 PM, Igor Korot wrote:
>
> Yes, you are correct.
> Do you know how I can write such a code?
Just move the code that looks for statements into the " if( res != SQLITE_OK )”
block.
—Jens
___
sqlite-users mailing list
sqlite-u
Perhaps you should change your calling sequence so that you call
sqlite3_next_stmt() BEFORE sqlite3_close()? If you exclusively use
sqlte3_prepare_v2() you can retrieve the text of the unfinalized statement(s),
print/log that, and maybe even call sqlite3_finalize() if you like.
-Ursprünglic
2 matches
Mail list logo