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-10 14:09:29 +0100 |
commit | 3d97840d1158dc8b98a78b76e194d97ffa45e8b4 (patch) | |
tree | 728e35d8a7c17b2db9ce84866d617f2c43ddf2b7 | |
parent | fed119ccd408862fe568fb6932aa48d3b9a3680e (diff) |
fb-sdbc: Added temporal debugging in dbaccess
-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; |