diff options
Diffstat (limited to 'phpBB/db/mssql.php')
-rw-r--r-- | phpBB/db/mssql.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/db/mssql.php b/phpBB/db/mssql.php index abde3268cf..e3bbd09be2 100644 --- a/phpBB/db/mssql.php +++ b/phpBB/db/mssql.php @@ -83,6 +83,13 @@ class sql_db { if($this->db_connect_id) { + // + // Commit any remaining transactions + // + if( $this->in_transaction ) + { + mssql_query("COMMIT", $this->db_connect_id); + } $result = @mssql_close($this->db_connect_id); return $result; } |