summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/misc/dsntypes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/misc/dsntypes.cxx')
-rw-r--r--dbaccess/source/core/misc/dsntypes.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 34f3c5ace0e1..7e48dd90fbb7 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -25,6 +25,7 @@
#include <stringconstants.hxx>
#include <comphelper/documentconstants.hxx>
#include <comphelper/string.hxx>
+#include <svtools/miscopt.hxx>
namespace dbaccess
{
@@ -295,7 +296,14 @@ OUString ODsnTypeCollection::getEmbeddedDatabase() const
}
}
if ( sEmbeddedDatabaseURL.isEmpty() )
- sEmbeddedDatabaseURL = "sdbc:embedded:hsqldb";
+ {
+ SvtMiscOptions aMiscOptions;
+ if( aMiscOptions.IsExperimentalMode() )
+ sEmbeddedDatabaseURL = "sdbc:embedded:firebird";
+ else
+ sEmbeddedDatabaseURL = "sdbc:embedded:hsqldb";
+
+ }
return sEmbeddedDatabaseURL;
}