Wrong use of total_rows field in QueryResultParser #65

helun opened this Issue Feb 3, 2012 · 0 comments

1 participant


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.

@helun helun closed this in d5570e3 Feb 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment