Skip to content

Commit

Permalink
MONDRIAN
Browse files Browse the repository at this point in the history
   Now when a DynamicSchemaProcessor is created, the use of the
   RolapSchema Pool is disabled for testing.
   Should have been part of changelist 9724.

[git-p4: depot-paths = "//open/mondrian/": change = 9725]
  • Loading branch information
Richard Emberson committed Aug 8, 2007
1 parent 951bc6a commit 058c043
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testsrc/main/mondrian/test/TestContext.java
Expand Up @@ -218,13 +218,16 @@ public synchronized Connection getFoodMartConnection() {

/**
* Returns a connection to the FoodMart database
* with a dynamic schema processor.
* with a dynamic schema processor and disables use of RolapSchema Pool.
*/
public synchronized Connection getFoodMartConnection(Class dynProcClass) {
Util.PropertyList properties = getFoodMartConnectionProperties();
properties.put(
RolapConnectionProperties.DynamicSchemaProcessor.name(),
dynProcClass.getName());
properties.put(
RolapConnectionProperties.UseSchemaPool.name(),
"false");
return DriverManager.getConnection(properties, null, null);
}

Expand Down

0 comments on commit 058c043

Please sign in to comment.