aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/mssql.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-09-07 16:58:45 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-09-07 16:58:45 +0000
commited26632a7facb458ae2ae08eb58cca6cd0cc7a16 (patch)
treec95903785a44f52c3388913aec7b045ebdf6fc9d /phpBB/db/mssql.php
parent7cd384c5b47717870af7f49c1dfe5b7123445b4b (diff)
downloadforums-ed26632a7facb458ae2ae08eb58cca6cd0cc7a16.tar
forums-ed26632a7facb458ae2ae08eb58cca6cd0cc7a16.tar.gz
forums-ed26632a7facb458ae2ae08eb58cca6cd0cc7a16.tar.bz2
forums-ed26632a7facb458ae2ae08eb58cca6cd0cc7a16.tar.xz
forums-ed26632a7facb458ae2ae08eb58cca6cd0cc7a16.zip
Updated mssql schema and basic, and added commit for remaining transactions
git-svn-id: file:///svn/phpbb/trunk@1000 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db/mssql.php')
-rw-r--r--phpBB/db/mssql.php7
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;
}