Merge branch 'beta' into devel

Conflicts:

	src/include/functions_common.php
This commit is contained in:
Andre Lorbach 2008-11-19 14:24:11 +01:00
commit 2c56745483
3 changed files with 15 additions and 0 deletions

View File

@ -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.

View File

@ -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);

View File

@ -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;
}