mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 04:20:32 +02:00
Updated mssql schema and basic, and added commit for remaining transactions
git-svn-id: file:///svn/phpbb/trunk@1000 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -100,9 +100,17 @@ class sql_db
|
||||
{
|
||||
if($this->db_connect_id)
|
||||
{
|
||||
//
|
||||
// Commit any remaining transactions
|
||||
//
|
||||
if( $this->in_transaction )
|
||||
{
|
||||
@pg_exec($this->db_connect_id, "COMMIT");
|
||||
}
|
||||
|
||||
if($this->query_result)
|
||||
{
|
||||
pg_freeresult($this->query_result);
|
||||
@pg_freeresult($this->query_result);
|
||||
}
|
||||
$result = @pg_close($this->db_connect_id);
|
||||
return $result;
|
||||
|
Reference in New Issue
Block a user