aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/oracle.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/oracle.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/oracle.php')
-rw-r--r--phpBB/db/oracle.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/db/oracle.php b/phpBB/db/oracle.php
index 42664ca45d..a7dc09eb33 100644
--- a/phpBB/db/oracle.php
+++ b/phpBB/db/oracle.php
@@ -30,7 +30,7 @@ class sql_db
var $db_connect_id;
var $query_result;
var $row;
-
+ var $num_queries = 0;
//
// Constructor
@@ -90,6 +90,8 @@ class sql_db
unset($this->query_result);
if($query != "")
{
+ $this->num_queries++;
+
if(eregi("LIMIT", $query))
{
preg_match("/^(.*)LIMIT ([0-9]+)[, ]*([0-9]+)*/s", $query, $limits);