Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8228655e
Kaydet (Commit)
8228655e
authored
Ara 14, 2000
tarafından
Ocke Janssen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#82061# beforeFirst called everytime
üst
cae9268c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
RowSetCache.cxx
dbaccess/source/core/api/RowSetCache.cxx
+11
-8
No files found.
dbaccess/source/core/api/RowSetCache.cxx
Dosyayı görüntüle @
8228655e
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: RowSetCache.cxx,v $
* $RCSfile: RowSetCache.cxx,v $
*
*
* $Revision: 1.1
7
$
* $Revision: 1.1
8
$
*
*
* last change: $Author: oj $ $Date: 2000-12-1
2 12:19:01
$
* last change: $Author: oj $ $Date: 2000-12-1
4 11:41:19
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -914,7 +914,7 @@ sal_Bool ORowSetCache::fillMatrix(sal_Int32 _nNewStartPos,sal_Int32 _nNewEndPos)
...
@@ -914,7 +914,7 @@ sal_Bool ORowSetCache::fillMatrix(sal_Int32 _nNewStartPos,sal_Int32 _nNewEndPos)
{
{
if
(
!
aIter
->
isValid
())
if
(
!
aIter
->
isValid
())
*
aIter
=
new
connectivity
::
ORowVector
<
ORowSetValue
>
(
m_xMetaData
->
getColumnCount
());
*
aIter
=
new
connectivity
::
ORowVector
<
ORowSetValue
>
(
m_xMetaData
->
getColumnCount
());
m_pCacheSet
->
fillValueRow
(
*
aIter
,
m_nPosition
+
i
);
m_pCacheSet
->
fillValueRow
(
*
aIter
,
i
);
}
}
else
else
{
// there are no more rows found so we can fetch some before start
{
// there are no more rows found so we can fetch some before start
...
@@ -983,9 +983,10 @@ sal_Bool ORowSetCache::moveWindow()
...
@@ -983,9 +983,10 @@ sal_Bool ORowSetCache::moveWindow()
if
(
nNewStartPos
<
1
)
if
(
nNewStartPos
<
1
)
{
{
bCheck
=
m_pCacheSet
->
first
();
bCheck
=
m_pCacheSet
->
first
();
m_nStartPos
=
0
;
// aEnd = m_pMatrix->begin() + (sal_Int32)(m_nFetchSize*0.5)
;
aEnd
=
m_pMatrix
->
begin
()
+
(
sal_Int32
)(
m_nFetchSize
*
0.5
)
;
aEnd
=
m_pMatrix
->
begin
()
+
nNewEndPos
-
m_nStartPos
-
nNewStartPos
;
aIter
=
aEnd
;
aIter
=
aEnd
;
m_nStartPos
=
0
;
}
}
else
else
{
{
...
@@ -1019,8 +1020,7 @@ sal_Bool ORowSetCache::moveWindow()
...
@@ -1019,8 +1020,7 @@ sal_Bool ORowSetCache::moveWindow()
{
{
m_nStartPos
=
0
;
m_nStartPos
=
0
;
if
(
!
m_pCacheSet
->
isBeforeFirst
())
m_pCacheSet
->
beforeFirst
();
m_pCacheSet
->
beforeFirst
();
sal_Bool
bCheck
;
sal_Bool
bCheck
;
ORowSetMatrix
::
iterator
aIter
=
m_pMatrix
->
begin
();
ORowSetMatrix
::
iterator
aIter
=
m_pMatrix
->
begin
();
...
@@ -1030,7 +1030,7 @@ sal_Bool ORowSetCache::moveWindow()
...
@@ -1030,7 +1030,7 @@ sal_Bool ORowSetCache::moveWindow()
{
{
if
(
!
aIter
->
isValid
())
if
(
!
aIter
->
isValid
())
*
aIter
=
new
connectivity
::
ORowVector
<
ORowSetValue
>
(
m_xMetaData
->
getColumnCount
());
*
aIter
=
new
connectivity
::
ORowVector
<
ORowSetValue
>
(
m_xMetaData
->
getColumnCount
());
m_pCacheSet
->
fillValueRow
(
*
aIter
,
i
);
m_pCacheSet
->
fillValueRow
(
*
aIter
,
i
+
1
);
}
}
else
else
*
aIter
=
NULL
;
*
aIter
=
NULL
;
...
@@ -1555,6 +1555,9 @@ void SAL_CALL ORowSetCache::clearWarnings( ) throw(SQLException, RuntimeExcepti
...
@@ -1555,6 +1555,9 @@ void SAL_CALL ORowSetCache::clearWarnings( ) throw(SQLException, RuntimeExcepti
/*------------------------------------------------------------------------
/*------------------------------------------------------------------------
$Log: not supported by cvs2svn $
$Log: not supported by cvs2svn $
Revision 1.17 2000/12/12 12:19:01 oj
#80933# change flush of attributes
Revision 1.16 2000/12/06 09:55:44 oj
Revision 1.16 2000/12/06 09:55:44 oj
#80219# correted deleterow(s) and remeber position
#80219# correted deleterow(s) and remeber position
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment