Skip to content

Commit

Permalink
SYMMETRICDS-413 - ddl utils blows up for table in db2
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Apr 8, 2011
1 parent 92cb9c6 commit 6e439fb
Showing 1 changed file with 10 additions and 1 deletion.
Expand Up @@ -1073,7 +1073,16 @@ public void determineAutoIncrementFromResultSetMetaData(Connection conn, Table t
}
}
} catch(SQLException ex) {
_log.warn("Failed to run the query: '" + query + "' to determine auto increment columns. This is probably not harmful, but should be fixedx.");
StringBuilder msg = new StringBuilder("Failed to determine auto increment columns using this query: '" + query + "'. This is probably not harmful, but should be fixed. ");
msg.append("\n");
msg.append(table.toString());
if (columnsToCheck != null) {
for (Column col : columnsToCheck) {
msg.append("\n");
msg.append(col.toString());
}
}
_log.warn(msg);
}
}

Expand Down

0 comments on commit 6e439fb

Please sign in to comment.