connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 6cd885243952bec4b71aa95d77820b08d70a94dc Author: Tamas Bunth <[email protected]> AuthorDate: Sat Dec 29 15:19:57 2018 +0100 Commit: Tamás Bunth <[email protected]> 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 <[email protected]> Tested-by: Andras Timar <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/76725 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Tamás Bunth <[email protected]> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
