Skip to content

Commit

Permalink
0000903: dbexport not replacing ? in cases
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Nov 8, 2012
1 parent 3538e17 commit aab3f7f
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -450,6 +450,8 @@ public String replaceSql(String sql, BinaryEncoding encoding, Column[] metaData,
+ row.getString(name));
throw ex;
}
} else if (column.getMappedTypeCode() == -101) {
newSql = newSql.replaceFirst(regex, quote + row.getString(name) + quote);
} else if (type == Types.DATE || type == Types.TIMESTAMP || type == Types.TIME) {
Date date = row.getDateTime(name);
if (useVariableDates) {
Expand Down

0 comments on commit aab3f7f

Please sign in to comment.