diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-07-15 21:11:22 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-07-16 16:40:16 +0200 |
commit | f32dc63b5219e3b8ff99b3b04ec06b48b3c20eab (patch) | |
tree | a47420e60d3eee5bbd3bc3e1915e7d89412c934d /dbaccess | |
parent | 35f02179210929fc125f69c6989a53610bd115df (diff) |
Make firebird-sdbc install consistent with other drivers.
Change-Id: I01673bda5a08ca793f4fba89ddae036e3f1483e2
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/misc/dsntypes.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx index aa24ed9da541..6eeec003e014 100644 --- a/dbaccess/source/core/misc/dsntypes.cxx +++ b/dbaccess/source/core/misc/dsntypes.cxx @@ -300,9 +300,7 @@ Sequence<PropertyValue> ODsnTypeCollection::getDefaultDBSettings( const OUString //------------------------------------------------------------------------- bool ODsnTypeCollection::isEmbeddedDatabase( const OUString& _sURL ) const { - const OUString sEmbeddedDatabaseURL = getEmbeddedDatabase(); - WildCard aWildCard(sEmbeddedDatabaseURL); - return aWildCard.Matches(_sURL); + return _sURL.startsWith( "sdbc:embedded:" ); } // ----------------------------------------------------------------------------- OUString ODsnTypeCollection::getEmbeddedDatabase() const |