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
bcd5f5eb
Kaydet (Commit)
bcd5f5eb
authored
Haz 04, 2013
tarafından
Andres Gomez
Kaydeden (comit)
Andrzej J.R. Hunt
Tem 16, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fb-sdbc: Added temporal debugging in dbaccess
üst
6f072af3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
FilteredContainer.cxx
dbaccess/source/core/api/FilteredContainer.cxx
+12
-6
No files found.
dbaccess/source/core/api/FilteredContainer.cxx
Dosyayı görüntüle @
bcd5f5eb
...
@@ -305,12 +305,14 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
...
@@ -305,12 +305,14 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
try
try
{
{
printf
(
"DEBUG !!! __ OFilteredContainer::construct __ getting metadata ...
\n
"
);
SAL_DEBUG
(
"OFilteredContainer::construct(). "
"Getting metadata ..."
);
Reference
<
XConnection
>
xCon
(
m_xConnection
,
UNO_SET_THROW
);
Reference
<
XConnection
>
xCon
(
m_xConnection
,
UNO_SET_THROW
);
m_xMetaData
.
set
(
xCon
->
getMetaData
(),
UNO_SET_THROW
);
m_xMetaData
.
set
(
xCon
->
getMetaData
(),
UNO_SET_THROW
);
printf
(
"DEBUG !!! __ OFilteredContainer::construct __ metadata got
\n
"
);
SAL_DEBUG
(
"OFilteredContainer::construct(). "
"Metadata got."
);
// create a table table filter suitable for the XDatabaseMetaData::getTables call,
// create a table table filter suitable for the XDatabaseMetaData::getTables call,
// taking into account both the externally-provided table type filter, and any
// taking into account both the externally-provided table type filter, and any
...
@@ -319,7 +321,8 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
...
@@ -319,7 +321,8 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
OUString
sInherentTableTypeRestriction
(
getTableTypeRestriction
()
);
OUString
sInherentTableTypeRestriction
(
getTableTypeRestriction
()
);
if
(
!
sInherentTableTypeRestriction
.
isEmpty
()
)
if
(
!
sInherentTableTypeRestriction
.
isEmpty
()
)
{
{
printf
(
"DEBUG !!! __ OFilteredContainer::construct __ NOT InherentTableTypeRestriction
\n
"
);
SAL_DEBUG
(
"OFilteredContainer::construct(). "
"NOT InherentTableTypeRestriction."
);
if
(
_rTableTypeFilter
.
getLength
()
!=
0
)
if
(
_rTableTypeFilter
.
getLength
()
!=
0
)
{
{
...
@@ -342,7 +345,8 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
...
@@ -342,7 +345,8 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
}
}
else
else
{
{
printf
(
"DEBUG !!! __ OFilteredContainer::construct __ InherentTableTypeRestriction
\n
"
);
SAL_DEBUG
(
"OFilteredContainer::construct(). "
"InherentTableTypeRestriction."
);
// no container-inherent restriction for the table types
// no container-inherent restriction for the table types
if
(
_rTableTypeFilter
.
getLength
()
==
0
)
if
(
_rTableTypeFilter
.
getLength
()
==
0
)
...
@@ -355,13 +359,15 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
...
@@ -355,13 +359,15 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
}
}
}
}
printf
(
"DEBUG !!! __ OFilteredContainer::construct __ getting tables ...
\n
"
);
SAL_DEBUG
(
"OFilteredContainer::construct(). "
"Getting tables ..."
);
static
const
OUString
sAll
(
"%"
);
static
const
OUString
sAll
(
"%"
);
Reference
<
XResultSet
>
xTables
=
m_xMetaData
->
getTables
(
Any
(),
sAll
,
sAll
,
aTableTypeFilter
);
Reference
<
XResultSet
>
xTables
=
m_xMetaData
->
getTables
(
Any
(),
sAll
,
sAll
,
aTableTypeFilter
);
Reference
<
XRow
>
xCurrentRow
(
xTables
,
UNO_QUERY_THROW
);
Reference
<
XRow
>
xCurrentRow
(
xTables
,
UNO_QUERY_THROW
);
printf
(
"DEBUG !!! __ OFilteredContainer::construct __ tables got
\n
"
);
SAL_DEBUG
(
"OFilteredContainer::construct(). "
"Tables got."
);
TableInfos
aUnfilteredTables
;
TableInfos
aUnfilteredTables
;
...
...
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