[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - connectivity/source

Lionel Elie Mamane lionel at mamane.lu
Wed Jan 7 02:09:07 PST 2015


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

New commits:
commit 2414f02ff0d087d144b472b5b4b1f93d6e3e2960
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
    Reviewed-on: https://gerrit.libreoffice.org/13742
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index aece696..221e588 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -1294,6 +1294,7 @@ bool OResultSet::OpenImpl()
     m_nRowPos = -1;
     m_nFilePos  = 0;
     m_nRowCountResult = -1;
+    m_pTable->seekRow(IResultSetHelper::ABSOLUTE, 0, m_nFilePos);
 
     m_nLastVisitedPos = m_pTable->getCurrentLastPos();
 


More information about the Libreoffice-commits mailing list