Skip to content

Commit

Permalink
MONDRIAN: added enableCache check which resolves some of the failed t…
Browse files Browse the repository at this point in the history
…est cases

[git-p4: depot-paths = "//open/mondrian/": change = 10834]
  • Loading branch information
Will Gorman committed Apr 8, 2008
1 parent c11ba4a commit 02f92d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/mondrian/rolap/RolapCubeHierarchy.java
Expand Up @@ -537,8 +537,10 @@ protected void readMemberChildren(
member, constraint) == null)
{
final List<RolapMember> cacheList = entry.getValue();
rolapCubeCacheHelper.putChildren(
member, constraint, cacheList);
if (enableCache) {
rolapCubeCacheHelper.putChildren(
member, constraint, cacheList);
}
}
}
}
Expand Down

0 comments on commit 02f92d1

Please sign in to comment.