Skip to content

Commit

Permalink
MONDRIAN
Browse files Browse the repository at this point in the history
   Clearing the CellInfo at the bottom of the while-loop rather
   than at the top in RolapResult save one container-clear operation.

[git-p4: depot-paths = "//open/mondrian/": change = 8581]
  • Loading branch information
Richard Emberson committed Jan 24, 2007
1 parent 1c0742d commit b2503dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/mondrian/rolap/RolapResult.java
Expand Up @@ -725,7 +725,6 @@ private void executeBody(Query query) {
// evaluator which collects requests.
int count = 0;
while (true) {
cellInfos.clear();

evaluator.setCellReader(this.batchingReader);
executeStripe(query.axes.length - 1,
Expand Down Expand Up @@ -754,6 +753,8 @@ private void executeBody(Query query) {
+ count + " iterations");
}
}

cellInfos.clear();
}
} finally {
// This call to clear the cube's cache only has an
Expand Down

0 comments on commit b2503dd

Please sign in to comment.