[Libreoffice] [PATCH] [REVIEW-3-5] fdo#44025 isLast() erroneously returns true

Lionel Elie Mamane lionel at mamane.lu
Thu Jan 19 11:47:45 PST 2012


Attached patch fixes fdo#44025; the original symptom is "search in a
database does not go beyond prefetch window". The underlying reason is
that dbaccess::ORowSetCache::isLast() returns true on the last line of
the *prefetch* *window* even if it is not the last line of the
data. This patch ensures that the underlying statistics are kept up to
date, so that isLast() gives a correct result.


Please apply to libreoffice-3-5.

-- 
Lionel


More information about the LibreOffice mailing list