aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/oracle.php
diff options
context:
space:
mode:
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);