helun/Ektorp — Issue #65: Wrong use of total_rows field in QueryResultParser
Author: helun
Created: 2012-02-03 15:53:50+00:00
State: open

QueryResultParser uses the total_rows field in view to pre-allocate the result list.
This is clearly wrong as this field does not reflect the number of rows in the reuslt, but number of rows in the view.

This can be a problem if the database contains large amounts of documents as out of memory errors easily can occur.