Kaydet (Commit) 4b13003d authored tarafından Frank Schönheit's avatar Frank Schönheit

#81354# pass m_aInfo to the driver manager when building the low level connection

üst ca95e7c2
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: datasource.cxx,v $ * $RCSfile: datasource.cxx,v $
* *
* $Revision: 1.15 $ * $Revision: 1.16 $
* *
* last change: $Author: fs $ $Date: 2000-11-21 14:09:35 $ * last change: $Author: fs $ $Date: 2000-12-07 08:12:04 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -128,6 +128,9 @@ ...@@ -128,6 +128,9 @@
#ifndef _DBA_CORE_CONNECTION_HXX_ #ifndef _DBA_CORE_CONNECTION_HXX_
#include "connection.hxx" #include "connection.hxx"
#endif #endif
#ifndef _COMPHELPER_SEQUENCE_HXX_
#include <comphelper/sequence.hxx>
#endif
using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::sdb; using namespace ::com::sun::star::sdb;
...@@ -512,9 +515,9 @@ Reference< XConnection > ODatabaseSource::buildLowLevelConnection(const ::rtl::O ...@@ -512,9 +515,9 @@ Reference< XConnection > ODatabaseSource::buildLowLevelConnection(const ::rtl::O
aUserPwd[1].Value <<= _rPwd; aUserPwd[1].Value <<= _rPwd;
} }
if (nAdditionalArgs) if (nAdditionalArgs)
xReturn = xManager->getConnectionWithInfo(m_sConnectURL, aUserPwd); xReturn = xManager->getConnectionWithInfo(m_sConnectURL, ::comphelper::concatSequences(aUserPwd,m_aInfo));
else else
xReturn = xManager->getConnection(m_sConnectURL); xReturn = xManager->getConnectionWithInfo(m_sConnectURL,m_aInfo);
} }
return xReturn; return xReturn;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment