[Libreoffice-commits] core.git: dbaccess/source

Julien Nabet serval2412 at yahoo.fr
Sun Dec 31 15:34:25 UTC 2017


 dbaccess/source/ui/uno/copytablewizard.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b3ea7ed747991696b9f02ede14c57f333c28a41b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Dec 31 15:23:32 2017 +0100

    tdf#114755: Remove extra parenthesis
    
    from SELECT block of INSERT INTO <> SELECT <>
    
    Change-Id: Ibe3c3f5f2fbc15388c716ae262e87137958c1a7e
    Reviewed-on: https://gerrit.libreoffice.org/47218
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index c13c75f8cfc4..2cf9f2c3c2b0 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -1440,7 +1440,7 @@ OUString CopyTableWizard::impl_getServerSideCopyStatement_throw(const Reference<
         }
     }
     const OUString sComposedTableName = ::dbtools::composeTableName( xDestMetaData, _xTable, ::dbtools::EComposeRule::InDataManipulation, true );
-    OUString sSql("INSERT INTO " + sComposedTableName + " ( " + sColumns.makeStringAndClear() + " ) ( " + m_pSourceObject->getSelectStatement() + " )");
+    OUString sSql("INSERT INTO " + sComposedTableName + " ( " + sColumns.makeStringAndClear() + " ) " + m_pSourceObject->getSelectStatement());
 
     return sSql;
 }


More information about the Libreoffice-commits mailing list