clean up fdo#79427 fix: force BeforeFirst only at execute(), not updateRow()

Change-Id: Iaa881d055923702acbb96862d187af41a6ded730
This commit is contained in:
Lionel Elie Mamane
2014-06-16 10:46:41 +02:00
parent 010c9320ba
commit 767e15343f

View File

@@ -2007,6 +2007,7 @@ void ORowSet::execute_NoApprove_NoNewConn(ResettableMutexGuard& _rClearForNotifi
else // !m_bCommandFacetsDirty
{
impl_rebuild_throw(_rClearForNotification);
beforeFirst();
}
checkCache();
// notify the rowset listeners
@@ -2740,7 +2741,6 @@ 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);