diff options
author | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2010-07-20 10:47:04 +0200 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2010-07-20 10:47:04 +0200 |
commit | e2a015c16fc39463fec8e4451dfd540db87a5fea (patch) | |
tree | f9d09c8c67bf2ed1c7ee805a82c445a8e9a65a4b | |
parent | e32369e92d2ed7cdb3e1f4fe3ff1062822432190 (diff) | |
parent | 046ed77b63f5b317ecce88dfc2213e8e7d6536ca (diff) |
Automated merge with http://hg.services.openoffice.org/cws/dba33g
-rw-r--r-- | dbaccess/source/core/api/KeySet.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx index a312d05b1..3de3133bc 100644 --- a/dbaccess/source/core/api/KeySet.cxx +++ b/dbaccess/source/core/api/KeySet.cxx @@ -253,10 +253,11 @@ void OKeySet::findTableColumnsMatching_throw(const Any& i_aTable static ::rtl::OUString s_sDot(RTL_CONSTASCII_USTRINGPARAM(".")); static ::rtl::OUString s_sParam(RTL_CONSTASCII_USTRINGPARAM(" = ?")); // create the where clause + Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); SelectColumnsMetaData::iterator aPosEnd = m_pKeyColumnNames->end(); for(SelectColumnsMetaData::iterator aPosIter = m_pKeyColumnNames->begin();aPosIter != aPosEnd;) { - aFilter.append(::dbtools::quoteName( aQuote,aPosIter->second.sTableName)); + aFilter.append(::dbtools::quoteTableName( xMeta,aPosIter->second.sTableName,::dbtools::eInDataManipulation)); aFilter.append(s_sDot); aFilter.append(::dbtools::quoteName( aQuote,aPosIter->second.sRealName)); aFilter.append(s_sParam); |