connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 2b21e754cc41bb4aaf9a0c01638e06825eff780e Author: Tamas Bunth <[email protected]> AuthorDate: Sat Dec 29 15:19:57 2018 +0100 Commit: Andras Timar <[email protected]> CommitDate: Sun Jan 6 09:00:46 2019 +0100 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]> diff --git a/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx b/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx index 2c680d7e1328..12c0f5375ca4 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx @@ -614,6 +614,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
