summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx14
-rw-r--r--connectivity/source/drivers/mysql/YCatalog.cxx16
2 files changed, 0 insertions, 30 deletions
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
index 9433e26517c8..77a3c16f3929 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
@@ -74,20 +74,6 @@ namespace connectivity {
}
// -------------------------------------------------------------------------
-/*
-MQuery::MQuery()
-{
- OSL_TRACE( "IN MQuery::MQuery()" );
-
- construct();
-#if OSL_DEBUG_LEVEL > 0
- m_oThreadID = osl_getThreadIdentifier(NULL);
-#endif
-
- OSL_TRACE( "\tOUT MQuery::MQuery()" );
-}
-*/
-// -------------------------------------------------------------------------
MQuery::MQuery( const OColumnAlias& _ca )
:m_rColumnAlias( _ca )
{
diff --git a/connectivity/source/drivers/mysql/YCatalog.cxx b/connectivity/source/drivers/mysql/YCatalog.cxx
index 37e818ad4a9a..7c5f86f2634d 100644
--- a/connectivity/source/drivers/mysql/YCatalog.cxx
+++ b/connectivity/source/drivers/mysql/YCatalog.cxx
@@ -85,22 +85,6 @@ void OMySQLCatalog::refreshViews()
Sequence< ::rtl::OUString > aTypes(1);
aTypes[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VIEW"));
-/*
- sal_Bool bSupportsViews = sal_False;
- try
- {
- Reference<XResultSet> xRes = m_xMetaData->getTableTypes();
- Reference<XRow> xRow(xRes,UNO_QUERY);
- while ( !bSupportsViews && xRow.is() && xRes->next() )
- {
- ::rtl::OUString sTableType( xRow->getString( 1 ) );
- bSupportsViews = sTableType.equalsIgnoreAsciiCase( aTypes[0] );
- }
- }
- catch(const SQLException&)
- {
- }
-*/
// let's simply assume the server is new enough to support views. Current drivers
// as of this writing might not return the proper information in getTableTypes, so
// don't rely on it.