[Libreoffice-commits] core.git: connectivity/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Dec 31 15:07:33 UTC 2018
connectivity/source/drivers/mysqlc/mysqlc_resultset.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit c3eeb89154c17c24e235c253dd03975ed3a7d90a
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
AuthorDate: Sat Dec 29 15:19:57 2018 +0100
Commit: Tamás Bunth <btomi96 at gmail.com>
CommitDate: Mon Dec 31 16:07:12 2018 +0100
mysqlc: ensure fetched result while invoking last
Change-Id: Ia1872973eefff1d8d677aa443b0c03d3ea569d60
Reviewed-on: https://gerrit.libreoffice.org/65716
Tested-by: Jenkins
Reviewed-by: Tamás Bunth <btomi96 at 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;
More information about the Libreoffice-commits
mailing list