diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-10-08 06:20:00 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-10-08 06:20:00 +0000 |
commit | 179725bb6b2c99eabb61d8ac3a0bd4c8de780cbe (patch) | |
tree | 60e9705b24b21ae15aa09acc11ed6cca252947d3 /connectivity/source/drivers/adabas/BDriver.cxx | |
parent | 585853dbefb3bb65624f3d38aac57c0f70549c4f (diff) |
#92000# getTableTypes corrected
Diffstat (limited to 'connectivity/source/drivers/adabas/BDriver.cxx')
-rw-r--r-- | connectivity/source/drivers/adabas/BDriver.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/adabas/BDriver.cxx b/connectivity/source/drivers/adabas/BDriver.cxx index 5aeab59c0d..d63666daf3 100644 --- a/connectivity/source/drivers/adabas/BDriver.cxx +++ b/connectivity/source/drivers/adabas/BDriver.cxx @@ -2,9 +2,9 @@ * * $RCSfile: BDriver.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: oj $ $Date: 2001-08-24 06:12:05 $ + * last change: $Author: oj $ $Date: 2001-10-08 07:20:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -221,6 +221,7 @@ Reference< XConnection > SAL_CALL ODriver::connect( const ::rtl::OUString& url, throw SQLException(aPath,*this,::rtl::OUString(),1000,Any()); } OAdabasConnection* pCon = new OAdabasConnection(m_pDriverHandle,this); + Reference< XConnection > xCon = pCon; SQLRETURN nSQLRETURN = pCon->Construct(url,info); if (nSQLRETURN == SQL_ERROR || nSQLRETURN == SQL_NO_DATA) @@ -230,7 +231,7 @@ Reference< XConnection > SAL_CALL ODriver::connect( const ::rtl::OUString& url, else if(SQL_SUCCESS_WITH_INFO == nSQLRETURN) // this driver does not support odbc3 { } - Reference< XConnection > xCon = pCon; + m_xConnections.push_back(WeakReferenceHelper(*pCon)); return xCon; |