summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-12 20:48:47 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-12 20:59:43 +0100
commit97346bdddf4c7f5bd156e60b83223bc547d5d6f5 (patch)
treef86b9edbbc53af56ad39d2f12314660f2601ddc0
parent811462723bcf72591b5dbbf38cb760612bd6030f (diff)
Revert "There's no reason for these defaults in one constructor but not the other"
The reason is that dbaccess_unoapi dbaccess.ORowSet fails with: lib.StatusException: couldn't set up test environment at mod._dbaccess.ORowSet.createTestEnvironment(ORowSet.java:479) This reverts commit 36caac0e029a3caf50cb27af339efd69008d414e.
-rw-r--r--dbaccess/source/core/dataaccess/ModelImpl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx
index 62c57133f330..2d77fc1a2706 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.cxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx
@@ -427,7 +427,11 @@ ODatabaseModelImpl::ODatabaseModelImpl( const Reference< XMultiServiceFactory >&
,m_pSharedConnectionManager(NULL)
,m_nControllerLockCount(0)
{
+ // some kind of default
DBG_CTOR(ODatabaseModelImpl,NULL);
+ m_sConnectURL = "jdbc:";
+ m_aTableFilter.realloc(1);
+ m_aTableFilter[0] = "%";
impl_construct_nothrow();
}