summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-30 11:06:22 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-30 11:34:51 +0200
commit739226133373960e42416da95216b7c736d572c6 (patch)
tree89fa71c1b7ce6ebf8851ee78f3ae5f74c4b25838 /dbaccess
parent79d1d1b4405b9f76de10b9c2c5ecdca686b1f7b9 (diff)
Fix firebird-sdbc registry details.
Change-Id: I753095ba40b5fb45cfccd10a95bd8eb7b68bd564
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/misc/dsntypes.cxx1
-rw-r--r--dbaccess/source/inc/dsntypes.hxx3
2 files changed, 3 insertions, 1 deletions
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 6eeec003e014..51113b30f8a7 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -410,6 +410,7 @@ DATASOURCE_TYPE ODsnTypeCollection::determineType(const OUString& _rDsn) const
KnownPrefix( "sdbc:flat:", DST_FLAT, false ),
KnownPrefix( "sdbc:odbc:", DST_ODBC, false ),
KnownPrefix( "sdbc:dbase:", DST_DBASE, false ),
+ KnownPrefix( "sdbc:firebird:", DST_FIREBIRD, false ),
KnownPrefix( "sdbc:mysql:odbc:", DST_MYSQL_ODBC, false ),
KnownPrefix( "sdbc:mysql:jdbc:", DST_MYSQL_JDBC, false ),
KnownPrefix( "sdbc:mysql:mysqlc:", DST_MYSQL_NATIVE, false ),
diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx
index e7c42af97fcb..6802694b68c7 100644
--- a/dbaccess/source/inc/dsntypes.hxx
+++ b/dbaccess/source/inc/dsntypes.hxx
@@ -61,7 +61,8 @@ enum DATASOURCE_TYPE
DST_EMBEDDED_HSQLDB = 23,
DST_MYSQL_NATIVE = 24,
DST_MYSQL_NATIVE_DIRECT = 25,
- DST_EMBEDDED_FIREBIRD = 26,
+ DST_FIREBIRD = 26,
+ DST_EMBEDDED_FIREBIRD = 27,
DST_USERDEFINE1, /// first user defined driver
DST_USERDEFINE2,