pentaho/mondrian — pull request #164 by mkambol (2013-10-24 12:32:24+00:00)
Title: [MONDRIAN-1729][SP-632] "Query required more than 12 iterations" error when query should complete.

Pull req for 3.5 branch.

This change addresses a case where the ordering in which segments are processed by SegmentBuilder.rollup() could impact the resulting segment. In some cases,
if a column of the second axis was wildcarded, it could incorrectly result in the axis being set as having incompatible predicates (lostPredicate=true). Similarly,
the intersecting values could be mishandled, depending on the ordering of segments with wildcarded columns.
Test cases committed with this change check for equivalent rollups with segments processed in forward and reverse order.
(cherry picked from commit 2cdffbe, 2b5bf5aa, e507584)