Start ::
Developers Corner ::
0.8 Theme Design ::
SQLcount is this normal ?
Moderated by: Support Team
-
- rank:
-
pnSoftmore
- registered:
- May 2004
- Status:
- offline
- last visit:
- 04.05.08
- Posts:
- 53
i would like to know what the true mining of the sqlcount that we can display in the footer of the pages
in the options
indeed if i count them in adodb-mysql.inc.php ( i added a global variable in the mysql_query function with an increment), the results are not the same.
is this normal ?
do you count only distinct queries ?
EDIT : the number is the same on "normal" page, but when i try to load the page of the pnForum 2.7 (for version PN .764), the number are differents.
edited by: mumuri, Feb 08, 2008 - 06:11 AM
-----
Top Flood - a discussions board based on pnForum -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 24.04.08
- Posts:
- 7647
I don't have the code to hand to check this but if I recall this debug option only counts queries that go through the new object library. For all modules that use the old style direct access to the database connection the queries aren't counted here.
I assume that the queries display are less than those found via editing adodb directly?
-Mark -
Start ::
Developers Corner ::
0.8 Theme Design ::
SQLcount is this normal ?
