aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/mssql.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/db/mssql.php')
-rw-r--r--phpBB/db/mssql.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/db/mssql.php b/phpBB/db/mssql.php
index 032e00587a..2f79ae042b 100644
--- a/phpBB/db/mssql.php
+++ b/phpBB/db/mssql.php
@@ -36,6 +36,7 @@ class sql_db
var $query_limit_success;
var $next_id;
var $row;
+ var $num_queries = 0;
//
// Constructor
@@ -100,8 +101,10 @@ class sql_db
//
unset($this->query_result);
unset($this->row);
+
if($query != "")
{
+ $this->num_queries++;
if($transaction == BEGIN_TRANSACTION)
{
$result = mssql_query("BEGIN TRANSACTION", $this->db_connect_id);