diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-06 18:46:01 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-06 23:05:59 +0900 |
commit | f0c7544df93e3847c4f96934d1d76be3e8d3af85 (patch) | |
tree | c05c56fbc4a69e178dedc718e6ff39be938c0ce9 /connectivity | |
parent | 4c2e9fc655b6480ffc7f0feb5d07b8106b6b8e22 (diff) |
nuke dead code
Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx | 14 | ||||
-rw-r--r-- | connectivity/source/drivers/mysql/YCatalog.cxx | 16 |
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. |