Merge "Allow NULL values in genSelect" into jb-ub-mail

This commit is contained in:
Marc Blank 2012-09-03 18:35:38 -07:00 committed by Android (Google) Code Review
commit b82437f563

View File

@ -2376,7 +2376,7 @@ outer:
if (values.containsKey(column)) {
String value = values.getAsString(column);
if (value == null) {
throw new IllegalArgumentException("Null value in " + column);
val = "NULL AS " + column;
} else if (value.startsWith("@")) {
val = value.substring(1) + " AS " + column;
} else {