summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-15 21:11:22 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-16 16:40:16 +0200
commitf32dc63b5219e3b8ff99b3b04ec06b48b3c20eab (patch)
treea47420e60d3eee5bbd3bc3e1915e7d89412c934d /dbaccess
parent35f02179210929fc125f69c6989a53610bd115df (diff)
Make firebird-sdbc install consistent with other drivers.
Change-Id: I01673bda5a08ca793f4fba89ddae036e3f1483e2
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/misc/dsntypes.cxx4
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