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

Pull req for lagunitas

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 commits 2cdffbe, 25eba12, 76eb9a3)