connectivity/source/drivers/mysqlc/mysqlc_table.cxx |   15 ---------------
 connectivity/source/drivers/mysqlc/mysqlc_table.hxx |    6 ------
 2 files changed, 21 deletions(-)

New commits:
commit cec7cce3798eb0961496d0f896d782aeb2fc0a5f
Author:     Julien Nabet <[email protected]>
AuthorDate: Sat Jan 15 16:54:23 2022 +0100
Commit:     Julien Nabet <[email protected]>
CommitDate: Sat Jan 15 18:22:22 2022 +0100

    Mysql/MariaDB: make rename table work
    
    by just letting general mechanism deal with it
    
    Change-Id: Iac70137c94419b719266f31222205d651d18b43b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128468
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <[email protected]>

diff --git a/connectivity/source/drivers/mysqlc/mysqlc_table.cxx 
b/connectivity/source/drivers/mysqlc/mysqlc_table.cxx
index ff5a3a8221d5..69b566bb3945 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_table.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_table.cxx
@@ -163,19 +163,4 @@ void SAL_CALL Table::alterColumnByIndex(
                       descriptor);
 }
 
-// ----- XRename --------------------------------------------------------------
-void SAL_CALL Table::rename(const OUString&)
-{
-    MutexGuard aGuard(m_rMutex);
-    // TODO: implement
-}
-
-// ----- XInterface -----------------------------------------------------------
-Any SAL_CALL Table::queryInterface(const Type& rType)
-{
-    if (rType.getTypeName() == "com.sun.star.sdbcx.XRename")
-        return Any();
-    return OTableHelper::queryInterface(rType);
-}
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_table.hxx 
b/connectivity/source/drivers/mysqlc/mysqlc_table.hxx
index 6c235806117c..78ba2c949960 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_table.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_table.hxx
@@ -59,12 +59,6 @@ public:
 
     virtual void SAL_CALL alterColumnByIndex(
         sal_Int32 index, const css::uno::Reference<css::beans::XPropertySet>& 
descriptor) override;
-
-    // XRename
-    virtual void SAL_CALL rename(const OUString& sName) override;
-
-    //XInterface
-    virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& rType) 
override;
 };
 
 } // namespace connectivity::mysqlc

Reply via email to