Skip to content

Commit

Permalink
MONDRIAN: removing special case for derby in testLoadDistinctSqlMeasu…
Browse files Browse the repository at this point in the history
…re(). It was fixed in changelist 13467.

[git-p4: depot-paths = "//open/mondrian-release/3.2/": change = 13485]
  • Loading branch information
Matt Campbell authored and Matt Campbell committed Mar 16, 2010
1 parent 5c22524 commit 9239516
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions testsrc/main/mondrian/rolap/FastBatchingCellReaderTest.java
Expand Up @@ -1299,14 +1299,7 @@ public void testLoadDistinctSqlMeasure() {
+ "Row #5: 8\n"
+ "Row #5: 8\n"
+ "Row #5: 8\n";
switch (dialect.getDatabaseProduct()) {
case DERBY:
// Derby seems to have a bug where distinct-counts over subqueries
// are returned as null rather than 0. Lower our expectations
// accordingly.
desiredResult = Util.replace(desiredResult, ": 0\n", ": \n");
break;
}

testContext.assertQueryReturns(query, desiredResult);

String loadCountDistinct_luciddb1 =
Expand Down

0 comments on commit 9239516

Please sign in to comment.