diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-06-16 08:41:46 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-06-16 06:47:33 +0000 |
commit | 44cd9a17ca55bf86340f39e01a2b7571cc397ca6 (patch) | |
tree | 52b49a6717163239d8bece31b76b414d025ddf03 /dbaccess | |
parent | 5be3e84c88940c040645fd588038d34b09dcdcc5 (diff) |
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@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSet.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 489a4d4463e3..d5e6411c79bf 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); |