diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2015-01-05 15:08:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-07 10:08:17 +0000 |
commit | 2414f02ff0d087d144b472b5b4b1f93d6e3e2960 (patch) | |
tree | 7102cb149502758ccebaa75b4561897f0f8527e4 | |
parent | 32dce67106c9f6ddbb91daf4dd84308974ebe309 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | connectivity/source/drivers/file/FResultSet.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx index aece696e95b8..221e5880b192 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(); |