aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/mssql.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-08 15:56:58 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-08 15:56:58 +0000
commit8047e0d9c9545b89de29978e45ffc5fd595f18fa (patch)
treec935d253ef0a388b3b3ebe94ac1dc33accb25ad8 /phpBB/db/mssql.php
parent3497f2adab9fb2e05afb584c1eb3904cb3dba17f (diff)
downloadforums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar.gz
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar.bz2
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.tar.xz
forums-8047e0d9c9545b89de29978e45ffc5fd595f18fa.zip
Number of queries executed ... for testing only
git-svn-id: file:///svn/phpbb/trunk@603 89ea8834-ac86-4346-8a33-228a782c2dd0
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);