dbaccess/source/core/api/RowSet.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 44cd9a17ca55bf86340f39e01a2b7571cc397ca6
Author: Lionel Elie Mamane <lio...@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 <lio...@mamane.lu>
    Tested-by: Lionel Elie Mamane <lio...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to