Skip to content

Commit

Permalink
MONDRIAN: Fix for DB2 loading from a file
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 4009]
  • Loading branch information
Sherman Wood committed Aug 23, 2005
1 parent 69860b2 commit 903ef56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/mondrian/rolap/sql/SqlQuery.java
Expand Up @@ -750,7 +750,7 @@ public void quoteIdentifier(final String qual,

public String getQuoteIdentifierString() {
if (isDB2()) {
return null;
return "";
} else {
return quoteIdentifierString;
}
Expand Down
Expand Up @@ -1683,6 +1683,7 @@ private String columnValue(String columnValue, Column column) throws Exception {
String trimmedValue = columnValue.trim();
if (!sqlQuery.getDialect().isMySQL() &&
!sqlQuery.getDialect().isOracle() &&
!sqlQuery.getDialect().isDB2() &&
!sqlQuery.getDialect().isFirebird()) {
if (trimmedValue.equals("1")) {
return "true";
Expand Down

0 comments on commit 903ef56

Please sign in to comment.