summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/kab/KDatabaseMetaData.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-06 13:14:45 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-06 13:14:45 +0000
commit08a77fe18b2ffbb3a8c2d547ab8dfae6e2928fe9 (patch)
tree908f42d7f4ba3e89eb230e27fae4024b8707459c /connectivity/source/drivers/kab/KDatabaseMetaData.cxx
parentc23860c0217d3e07e9f64a33341d9d8f02e2505c (diff)
INTEGRATION: CWS kabparam (1.4.8); FILE MERGED
2006/06/29 08:15:21 ebischoff 1.4.8.1: #i66691# Support for parametrized queries in KDE address book connector
Diffstat (limited to 'connectivity/source/drivers/kab/KDatabaseMetaData.cxx')
-rw-r--r--connectivity/source/drivers/kab/KDatabaseMetaData.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/connectivity/source/drivers/kab/KDatabaseMetaData.cxx b/connectivity/source/drivers/kab/KDatabaseMetaData.cxx
index 7ea9a9a22757..9a3b0e63ba96 100644
--- a/connectivity/source/drivers/kab/KDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/kab/KDatabaseMetaData.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: KDatabaseMetaData.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 01:38:27 $
+ * last change: $Author: kz $ $Date: 2006-07-06 14:14:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -38,6 +38,9 @@
#ifndef _CONNECTIVITY_KAB_FIELDS_HXX_
#include "kfields.hxx"
#endif
+#ifndef CONNECTIVITY_KAB_KDEINIT_H
+#include "KDEInit.h"
+#endif
#include <klocale.h>
#ifndef _CONNECTIVITY_FDATABASEMETADATARESULTSET_HXX_
@@ -603,8 +606,7 @@ sal_Bool SAL_CALL KabDatabaseMetaData::supportsANSI92IntermediateSQL( ) throw(S
// -------------------------------------------------------------------------
::rtl::OUString SAL_CALL KabDatabaseMetaData::getDriverVersion() throw(SQLException, RuntimeException)
{
- // version 0.1
- ::rtl::OUString aValue = ::rtl::OUString::createFromAscii("0.1");
+ ::rtl::OUString aValue = ::rtl::OUString::createFromAscii(KAB_DRIVER_VERSION);
return aValue;
}
// -------------------------------------------------------------------------
@@ -634,7 +636,7 @@ sal_Bool SAL_CALL KabDatabaseMetaData::supportsANSI92IntermediateSQL( ) throw(S
// -------------------------------------------------------------------------
sal_Int32 SAL_CALL KabDatabaseMetaData::getDriverMajorVersion( ) throw(RuntimeException)
{
- return 1;
+ return KAB_DRIVER_VERSION_MAJOR;
}
// -------------------------------------------------------------------------
sal_Int32 SAL_CALL KabDatabaseMetaData::getDefaultTransactionIsolation( ) throw(SQLException, RuntimeException)
@@ -644,7 +646,7 @@ sal_Int32 SAL_CALL KabDatabaseMetaData::getDefaultTransactionIsolation( ) throw
// -------------------------------------------------------------------------
sal_Int32 SAL_CALL KabDatabaseMetaData::getDriverMinorVersion( ) throw(RuntimeException)
{
- return 0;
+ return KAB_DRIVER_VERSION_MINOR;
}
// -------------------------------------------------------------------------
::rtl::OUString SAL_CALL KabDatabaseMetaData::getSQLKeywords( ) throw(SQLException, RuntimeException)