From 92938e81fd19cb740fc279c0e32287b37947c1f2 Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Thu, 30 Aug 2001 12:20:59 +0000 Subject: #91722# date and tinyint enabled --- connectivity/source/inc/ado/AConnection.hxx | 7 +++++-- connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx | 6 +++--- connectivity/source/inc/ado/adoimp.hxx | 6 +++--- 3 files changed, 11 insertions(+), 8 deletions(-) (limited to 'connectivity/source/inc/ado') diff --git a/connectivity/source/inc/ado/AConnection.hxx b/connectivity/source/inc/ado/AConnection.hxx index 205977e4a54c..e8a44a079182 100644 --- a/connectivity/source/inc/ado/AConnection.hxx +++ b/connectivity/source/inc/ado/AConnection.hxx @@ -2,9 +2,9 @@ * * $RCSfile: AConnection.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: oj $ $Date: 2001-08-24 06:00:38 $ + * last change: $Author: oj $ $Date: 2001-08-30 13:20:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -117,6 +117,7 @@ namespace connectivity ODriver* m_pDriver; private: WpADOConnection* m_pAdoConnection; + sal_Int32 m_nEngineType; sal_Bool m_bClosed; sal_Bool m_bAutocommit; @@ -170,6 +171,8 @@ namespace connectivity WpADOConnection* getConnection() { return m_pAdoConnection; } void setCatalog(const ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbcx::XTablesSupplier>& _xCat) { m_xCatalog = _xCat; } const OTypeInfoMap* getTypeInfo() const { return &m_aTypeInfo;} + + sal_Int32 getEngineType() const { return m_nEngineType; } }; } } diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx index f100f117a8a1..1efbb9ea1c96 100644 --- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ADatabaseMetaDataResultSet.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: oj $ $Date: 2001-08-29 12:14:43 $ + * last change: $Author: oj $ $Date: 2001-08-30 13:20:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -267,7 +267,7 @@ namespace connectivity void setIndexInfoMap(); void setTablePrivilegesMap(); void setCrossReferenceMap(); - void setTypeInfoMap(); + void setTypeInfoMap(sal_Bool _bJetEngine); }; // ------------------------------------------------------------------------- inline sal_Int32 ODatabaseMetaDataResultSet::mapColumn (sal_Int32 column) diff --git a/connectivity/source/inc/ado/adoimp.hxx b/connectivity/source/inc/ado/adoimp.hxx index 10312531ce4f..c6acfb04cb3d 100644 --- a/connectivity/source/inc/ado/adoimp.hxx +++ b/connectivity/source/inc/ado/adoimp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: adoimp.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: oj $ $Date: 2001-07-30 08:52:09 $ + * last change: $Author: oj $ $Date: 2001-08-30 13:20:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -121,7 +121,7 @@ namespace connectivity static void ThrowException(ADOConnection* _pAdoCon,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xInterface) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); static sal_Int32 MapADOType2Jdbc(DataTypeEnum eType); - static DataTypeEnum MapJdbc2ADOType(sal_Int32 _nType); + static DataTypeEnum MapJdbc2ADOType(sal_Int32 _nType,sal_Int32 _nJetEngine); static sal_Bool isJetEngine(sal_Int32 _nEngineType); static ObjectTypeEnum mapObjectType2Ado(sal_Int32 objType); -- cgit