summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-06-16 10:46:41 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-06-16 21:58:05 +0200
commit767e15343fdedffce513fd26ce17ee6003936117 (patch)
treeb740d7413743f762fdf2f5df843e6cc465509663 /dbaccess
parent010c9320baed31af29d302088cefafbb6063e5b7 (diff)
clean up fdo#79427 fix: force BeforeFirst only at execute(), not updateRow()
Change-Id: Iaa881d055923702acbb96862d187af41a6ded730
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/RowSet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index d5e6411c79bf..9820287e5957 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -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);