1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-01 20:19:13 +02:00

Missing transaction code ... may have caused some or all of the current PostgreSQL issues ...

git-svn-id: file:///svn/phpbb/trunk@1754 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-12-31 20:36:46 +00:00
parent e6ffdbe918
commit d6159b8b56

View File

@ -142,6 +142,7 @@ class sql_db
{
return false;
}
$this->in_transaction = TRUE;
}
$this->query_result = @pg_exec($this->db_connect_id, $query);
@ -172,6 +173,8 @@ class sql_db
{
@pg_exec($this->db_connect_id, "ROLLBACK");
}
$this->in_transaction = FALSE;
return false;
}
}