Skip to content

Commit

Permalink
MONDRIAN: followup to 9698: fix the pattern matching for SQL measures.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 9717]
  • Loading branch information
Rushan Chen committed Aug 7, 2007
1 parent eb39742 commit 289313e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/mondrian/rolap/FastBatchingCellReader.java
Expand Up @@ -666,7 +666,7 @@ List<RolapStar.Measure> getDistinctSqlMeasures(
// perfect check, because a SQL expression on column names
// containing "SELECT" will also be detected. e,g,
// count("select beef" + "regular beef").
if (measureSql.cdata.toUpperCase().contains("SELECT ")) {
if (measureSql.cdata.toUpperCase().contains("SELECT")) {
distinctSqlMeasureList.add(measure);
}
}
Expand Down

0 comments on commit 289313e

Please sign in to comment.