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

New commits:
commit b3ea7ed747991696b9f02ede14c57f333c28a41b
Author: Julien Nabet <serval2...@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 <c...@libreoffice.org>
    Reviewed-by: Julien Nabet <serval2...@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;
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to