On 14 Dec 2016, at 1:20am, Igor Korot <[email protected]> wrote: > So are you saying that this code should be executed if sqlite3_close() > didn't return SQLITE_OK?
Hold on. Closing the database is a special case. The only thing you should do if sqlite3_close() doesn’t work is to print an error message which includes the value returned. Because if you can’t close the database what are you going to do instead ? Presumably if your program is closing the database it’s about to quit. So just print an error message (and hope the user reports it to you) then have your program quit as it would have done anyway. Simon. _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

