.pgsql: Rollback checks level

git-svn-id: svn://ultimatepp.org/upp/trunk@2348 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-04-30 08:41:30 +00:00
parent 08f299ee09
commit 216569ebf2

View file

@ -395,7 +395,7 @@ void PostgreSQLSession::Commit()
void PostgreSQLSession::Rollback()
{
ExecTrans("rollback");
level--;
if(level > 0) level--;
}
int PostgreSQLSession::GetTransactionLevel() const