Skip to content

Commit

Permalink
MONDRIAN
Browse files Browse the repository at this point in the history
       For insert SQL output NULL when value is empty string.

[git-p4: depot-paths = "//open/mondrian/": change = 7904]
  • Loading branch information
Richard Emberson committed Oct 11, 2006
1 parent e92a328 commit dd7c55f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testsrc/main/mondrian/test/loader/DBLoader.java
Expand Up @@ -993,6 +993,9 @@ protected String columnValue(Column column, Object value)

if (value == null) {
return "NULL";
} else if ((value instanceof String) &&
(((String)value).length() == 0)) {
return "NULL";
}

/*
Expand Down

0 comments on commit dd7c55f

Please sign in to comment.