connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 6cd885243952bec4b71aa95d77820b08d70a94dc Author: Tamas Bunth <tamas.bu...@collabora.co.uk> AuthorDate: Sat Dec 29 15:19:57 2018 +0100 Commit: Tamás Bunth <btom...@gmail.com> CommitDate: Thu Aug 1 14:35:30 2019 +0200 mysqlc: ensure fetched result while invoking last Change-Id: Ia1872973eefff1d8d677aa443b0c03d3ea569d60 Reviewed-on: https://gerrit.libreoffice.org/65854 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/76725 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tamás Bunth <btom...@gmail.com> diff --git a/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx b/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx index d6c2a9b724b4..be02c7c73ee3 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx @@ -612,6 +612,7 @@ sal_Bool SAL_CALL OResultSet::last() { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); + ensureResultFetched(); m_nRowPosition = m_nRowCount - 1; return true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits