Nope the previous was errored it doesn`t actually check it if the ppDB is allready closed :/ It works only if it is open and not closed otherwise if sqlite3_close(ppDB) was previously called it sees it as open again :/
Any other way ? ________________________________________ From: sqlite-users-bounces at mailinglists.sqlite.org <sqlite-users-bounces at mailinglists.sqlite.org> on behalf of Simon Slavin <[email protected]> Sent: Tuesday, March 1, 2016 6:33 PM To: SQLite mailing list Subject: Re: [sqlite] How to check if connection to main database is still open or closed before new query ? On 1 Mar 2016, at 4:31pm, a a <NoCos30 at hotmail.com> wrote: > Thank you Simon indeed what i was looking for Please test it first. I can't test C programs here at work and I can't find documentation that it works. Simon. _______________________________________________ sqlite-users mailing list sqlite-users at mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

