Show the last 200 queries instead of the first 200.

Fixes #3273
This commit is contained in:
mark_story 2012-10-14 21:30:28 -04:00
parent 59f84024e5
commit 3e0fa0009b

View file

@ -928,7 +928,7 @@ class DboSource extends DataSource {
'took' => $this->took
);
if (count($this->_queriesLog) > $this->_queriesLogMax) {
array_pop($this->_queriesLog);
array_shift($this->_queriesLog);
}
}