summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-12-31 15:23:32 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-12-31 16:33:59 +0100
commitb3ea7ed747991696b9f02ede14c57f333c28a41b (patch)
tree6a4e11e735e965dbcc155c7479720c1fbe6af5aa /dbaccess/source
parent17ee20b161cf5825e25d120c84675d11f7282256 (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>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}