diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mysql_jdbc/YViews.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mysql_jdbc/YViews.cxx b/connectivity/source/drivers/mysql_jdbc/YViews.cxx index 8884e93244c5..96a5c7db9e2c 100644 --- a/connectivity/source/drivers/mysql_jdbc/YViews.cxx +++ b/connectivity/source/drivers/mysql_jdbc/YViews.cxx @@ -118,9 +118,9 @@ void OViews::createView(const Reference<XPropertySet>& descriptor) OUString sCommand; aSql += ::dbtools::composeTableName(m_xMetaData, descriptor, - ::dbtools::EComposeRule::InTableDefinitions, true); + ::dbtools::EComposeRule::InTableDefinitions, true) + + " AS "; - aSql += " AS "; descriptor->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_COMMAND)) >>= sCommand; aSql += sCommand; |