mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
537fd3c3ad
commit
d91cd76752
7 changed files with 6 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue