aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/postgres7.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/postgres7.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/postgres7.php')
-rw-r--r--phpBB/db/postgres7.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/db/postgres7.php b/phpBB/db/postgres7.php
index 981439cc10..df5d8edc4c 100644
--- a/phpBB/db/postgres7.php
+++ b/phpBB/db/postgres7.php
@@ -32,6 +32,7 @@ class sql_db
var $in_transaction = 0;
var $row;
var $rownum = array();
+ var $num_queries = 0;
//
// Constructor
@@ -122,6 +123,8 @@ class sql_db
unset($this->query_result);
if($query != "")
{
+ $this->num_queries++;
+
$query = preg_replace("/LIMIT ([0-9]+),([ 0-9]+)/", "LIMIT \\2, \\1", $query);
if($transaction == BEGIN_TRANSACTION)