1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +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:
Paul S. Owen
2001-09-07 16:58:45 +00:00
parent 7cd384c5b4
commit ed26632a7f
4 changed files with 127 additions and 94 deletions

View File

@@ -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;
}