[Libreoffice-commits] core.git: dbaccess/source
Lionel Elie Mamane
lionel at mamane.lu
Sun Jun 15 23:48:00 PDT 2014
dbaccess/source/core/api/RowSet.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 44cd9a17ca55bf86340f39e01a2b7571cc397ca6
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Mon Jun 16 08:41:46 2014 +0200
fdo#79427 after execute() a ResultSet is expected to be BeforeFirst
Change-Id: I38091d1ee2161d6e32da3a0bde60e3fc008aa83d
Reviewed-on: https://gerrit.libreoffice.org/9794
Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>
Tested-by: Lionel Elie Mamane <lionel at mamane.lu>
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 489a4d4..d5e6411 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -2740,6 +2740,7 @@ void ORowSet::impl_rebuild_throw(::osl::ResettableMutexGuard& _rGuard)
{
xResultSet = m_xStatement->executeQuery();
m_pCache->reset(xResultSet);
+ beforeFirst();
}
m_aWarnings.setExternalWarnings( Reference< XWarningsSupplier >( xResultSet, UNO_QUERY ) );
notifyAllListeners(_rGuard);
More information about the Libreoffice-commits
mailing list