diff options
author | Andres Gomez <agomez@igalia.com> | 2013-06-04 16:41:28 +0300 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-07-16 16:40:07 +0200 |
commit | bcd5f5ebd4e8cca87fef64a942b505cc8adf30fe (patch) | |
tree | 0efdca6bed93911225be272a85c2f77aa054c35f /dbaccess/source | |
parent | 6f072af34f81275a5e690a8180ac74e7b7731424 (diff) |
fb-sdbc: Added temporal debugging in dbaccess
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/core/api/FilteredContainer.cxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx index 448a405671e6..186f4e6fa3b0 100644 --- a/dbaccess/source/core/api/FilteredContainer.cxx +++ b/dbaccess/source/core/api/FilteredContainer.cxx @@ -305,12 +305,14 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto try { - printf ("DEBUG !!! __ OFilteredContainer::construct __ getting metadata ... \n"); + SAL_DEBUG("OFilteredContainer::construct(). " + "Getting metadata ..."); Reference< XConnection > xCon( m_xConnection, 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, // taking into account both the externally-provided table type filter, and any @@ -319,7 +321,8 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto OUString sInherentTableTypeRestriction( getTableTypeRestriction() ); if ( !sInherentTableTypeRestriction.isEmpty() ) { - printf ("DEBUG !!! __ OFilteredContainer::construct __ NOT InherentTableTypeRestriction \n"); + SAL_DEBUG("OFilteredContainer::construct(). " + "NOT InherentTableTypeRestriction."); if ( _rTableTypeFilter.getLength() != 0 ) { @@ -342,7 +345,8 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto } else { - printf ("DEBUG !!! __ OFilteredContainer::construct __ InherentTableTypeRestriction \n"); + SAL_DEBUG("OFilteredContainer::construct(). " + "InherentTableTypeRestriction."); // no container-inherent restriction for the table types if ( _rTableTypeFilter.getLength() == 0 ) @@ -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("%"); Reference< XResultSet > xTables = m_xMetaData->getTables( Any(), sAll, sAll, aTableTypeFilter ); Reference< XRow > xCurrentRow( xTables, UNO_QUERY_THROW ); - printf ("DEBUG !!! __ OFilteredContainer::construct __ tables got \n"); + SAL_DEBUG("OFilteredContainer::construct(). " + "Tables got."); TableInfos aUnfilteredTables; |