diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-01-16 19:07:19 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-01-16 20:14:29 +0100 |
commit | 276258618b9ab548927a6c5df0cadba11994b70b (patch) | |
tree | 77a7aa286413a7d25d73d94c0d945e7d2364f9e0 /connectivity | |
parent | ffb5915c08314f1ec1b71f28b108060771a0a545 (diff) |
Firebird: missing space in DROP command
It's more to have something clean.
Indeed there wasn't impact on Firebird since the table name is surrounded by quotes,
eg: DROP TABLE"TableTest"
Change-Id: Iad525ccb912347798c6780fd1a5bac12ee85333f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128488
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/Tables.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/Tables.cxx b/connectivity/source/drivers/firebird/Tables.cxx index 8337949b3d80..b686f66ecb9c 100644 --- a/connectivity/source/drivers/firebird/Tables.cxx +++ b/connectivity/source/drivers/firebird/Tables.cxx @@ -201,7 +201,7 @@ void Tables::dropObject(sal_Int32 nPosition, const OUString& sName) const OUString sQuoteString = m_xMetaData->getIdentifierQuoteString(); m_xMetaData->getConnection()->createStatement()->execute( - "DROP " + sType + ::dbtools::quoteName(sQuoteString,sName)); + "DROP " + sType + " " + ::dbtools::quoteName(sQuoteString,sName)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |