From 165042621e2163e10a114288dc981c2cb2d4944f Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Tue, 29 Apr 2008 18:04:02 +0200 Subject: [PATCH] Forgot to comment last change in changelog, done now. --- ChangeLog | 4 ++++ src/classes/logstreamdb.class.php | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8545705..3df19cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ --------------------------------------------------------------------------- +Version 2.1.3 (devel), 2008-04-29 +- Fixed a bug in the installer, the table type was not written into the configuration. + + Version 2.1.2 (devel), 2008-04-28 - Removed syslog sample logfile from samplelogs, fixed minor issue in the installer - Fixed bug in logstreamlineparsersyslog.class which failed to parse some rsyslog loglines. diff --git a/src/classes/logstreamdb.class.php b/src/classes/logstreamdb.class.php index 6e16dc3..24a7d3a 100644 --- a/src/classes/logstreamdb.class.php +++ b/src/classes/logstreamdb.class.php @@ -758,7 +758,7 @@ class LogStreamDB extends LogStream { */ private function GetRowCountFromTable() { - global $dbmapping; + global $dbmapping,$querycount; $szTableType = $this->_logStreamConfigObj->DBTableType; // Create Statement and perform query! @@ -769,6 +769,9 @@ class LogStreamDB extends LogStream { $myRow = mysql_fetch_row($myQuery); $numRows = $myRow[0]; + // Increment for the Footer Stats + $querycount++; + // Free query now mysql_free_result ($myQuery); }