aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/mysql.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/mysql.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/mysql.php')
-rw-r--r--phpBB/db/mysql.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php
index 9afe8acbe8..0e123a8244 100644
--- a/phpBB/db/mysql.php
+++ b/phpBB/db/mysql.php
@@ -30,6 +30,7 @@ class sql_db
var $db_connect_id;
var $query_result;
var $row;
+ var $num_queries = 0;
//
// Constructor
@@ -100,6 +101,8 @@ class sql_db
unset($this->query_result);
if($query != "")
{
+ $this->num_queries++;
+
$this->query_result = @mysql_query($query, $this->db_connect_id);
}
if($this->query_result)