[Libreoffice-commits] core.git: connectivity/source

Lionel Elie Mamane lionel at mamane.lu
Mon Jan 5 06:13:57 PST 2015


 connectivity/source/drivers/file/FResultSet.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b00f2bbf9b970115da4452ea0aab93b1c8da7b11
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Jan 5 15:08:22 2015 +0100

    fdo#80968 file resultset seek table to before beginning on opening resultset
    
    Change-Id: I73abbc7cfe0804e729a711a247b6e085b4e41d95

diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 4e44f5e..afc9d96 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -1296,6 +1296,7 @@ bool OResultSet::OpenImpl()
     m_nRowPos = -1;
     m_nFilePos  = 0;
     m_nRowCountResult = -1;
+    m_pTable->seekRow(IResultSetHelper::ABSOLUTE1, 0, m_nFilePos);
 
     m_nLastVisitedPos = m_pTable->getCurrentLastPos();
 


More information about the Libreoffice-commits mailing list