mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
Merge branch 'beta' into devel
Conflicts: src/include/functions_common.php
This commit is contained in:
commit
2c56745483
@ -1,4 +1,9 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 2.5.20 (beta), 2008-11-19
|
||||
- Fixed a performance issue in the logstream db and pdo drivers when
|
||||
using filters. This bug could cause script timeouts when using complex
|
||||
filters.
|
||||
---------------------------------------------------------------------------
|
||||
Version 2.5.19 (beta), 2008-11-18
|
||||
- Added a new "cron" folder which contains a maintenance.php script.
|
||||
This script can be used on command line level for database maintenance.
|
||||
|
@ -1035,6 +1035,11 @@ class LogStreamDB extends LogStream {
|
||||
$iBegin++;
|
||||
}
|
||||
|
||||
// --- Check if results were found
|
||||
if ( $iBegin == $this->_currentRecordNum )
|
||||
return ERROR_NOMORERECORDS;
|
||||
// ---
|
||||
|
||||
// Free Query ressources
|
||||
mysql_free_result ($myquery);
|
||||
|
||||
|
@ -1065,6 +1065,11 @@ class LogStreamPDO extends LogStream {
|
||||
$iCount++;
|
||||
}
|
||||
|
||||
// --- Check if results were found
|
||||
if ( $iBegin == $this->_currentRecordNum )
|
||||
return ERROR_NOMORERECORDS;
|
||||
// ---
|
||||
|
||||
// return success state if reached this point!
|
||||
return SUCCESS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user