diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-12-31 15:23:32 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-01-01 02:00:39 +0100 |
commit | 2d1a732a2afabb6946d389f01dc491f0f3b6a571 (patch) | |
tree | 3d8ad450835d2ca41f2da573d2cb76200cb86a03 /dbaccess | |
parent | 7450ca17d956972650b09c0ec0e55d30b325b0c4 (diff) |
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@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
(cherry picked from commit b3ea7ed747991696b9f02ede14c57f333c28a41b)
Reviewed-on: https://gerrit.libreoffice.org/47223
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/uno/copytablewizard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index a1b141a919ba..129606366b41 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -1445,7 +1445,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; } |