Skip to content

Commit

Permalink
MONDRIAN: Fix MondrianFoodMartLoader for Ingres (contributed by Andy …
Browse files Browse the repository at this point in the history
…Grimm).

[git-p4: depot-paths = "//open/mondrian/": change = 8148]
  • Loading branch information
julianhyde committed Nov 15, 2006
1 parent e467db7 commit c905133
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -1779,7 +1779,8 @@ private String columnValue(String columnValue, Column column) throws Exception {
!dialect.isDB2() &&
!dialect.isFirebird() &&
!dialect.isMSSQL() &&
!dialect.isDerby()) {
!dialect.isDerby() &&
!dialect.isIngres()) {
if (trimmedValue.equals("1")) {
return "true";
} else if (trimmedValue.equals("0")) {
Expand Down Expand Up @@ -1954,6 +1955,8 @@ String toPhysical(SqlQuery.Dialect dialect) {
if (dialect.isMSSQL() ||
dialect.isMySQL()) {
return "DATETIME";
} else if (dialect.isIngres()) {
return "DATE";
} else {
return name;
}
Expand Down

0 comments on commit c905133

Please sign in to comment.