It is
if (ppDb != NULL) {
// it's open
} else {
// it's closed
}
yeap it works correct
thank you
________________________________________
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