mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Sql: Refactored SQL 'default app cursor', added per-thread SQL option, added secondary SQLR 'default app cursor'
git-svn-id: svn://ultimatepp.org/upp/trunk@4290 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fa7fe19881
commit
988e51f30a
14 changed files with 913 additions and 788 deletions
|
|
@ -397,11 +397,7 @@ void PostgreSQLSession::Close()
|
|||
{
|
||||
if(!conn)
|
||||
return;
|
||||
#ifndef flagNOAPPSQL
|
||||
if(SQL.IsOpen() && &SQL.GetSession() == this)
|
||||
SQL.Cancel();
|
||||
#endif
|
||||
|
||||
SessionClose();
|
||||
PQfinish(conn);
|
||||
conn = NULL;
|
||||
level = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue