new uvs2 releases : uppsrc-2601 tutorial-38 examples-141 reference-113

git-svn-id: svn://ultimatepp.org/upp/trunk@302 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
mdelfede 2008-06-18 18:49:45 +00:00
parent 537fd3c3ad
commit d91cd76752
7 changed files with 6 additions and 11 deletions

View file

@ -268,7 +268,7 @@ void Sqlite3Session::Close() {
if (NULL != db) {
int retval;
#ifndef flagNOAPPSQL
if(&SQL.GetSession() == this)
if(SQL.IsOpen() && &SQL.GetSession() == this)
SQL.Cancel();
#endif
retval = sqlite3_close(db);