Fixed for loop bug in DatabasePager::getRequestsInProgress().

This commit is contained in:
Robert Osfield
2009-02-09 22:28:49 +00:00
parent 85acee5dcc
commit 919a1e5286

View File

@@ -1217,7 +1217,7 @@ bool DatabasePager::getRequestsInProgress() const
if (getDataToMergeListSize()>0) return true;
for(DatabaseThreadList::const_iterator itr = _databaseThreads.begin();
itr != _databaseThreads.begin();
itr != _databaseThreads.end();
++itr)
{
if ((*itr)->getActive()) return true;