Skip to content

Commit

Permalink
0001378: alterTables(boolean continueOnError, Table... desiredTables)…
Browse files Browse the repository at this point in the history
… in platform should use isRequiresAutoCommitForDdl
  • Loading branch information
chenson42 committed Aug 10, 2013
1 parent ed83ba6 commit e1b2c38
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -186,7 +186,7 @@ public void alterTables(boolean continueOnError, Table... desiredTables) {
if (StringUtils.isNotBlank(alterSql.trim())) {
log.info("Running alter sql:\n{}", alterSql);
String delimiter = getDdlBuilder().getDatabaseInfo().getSqlCommandDelimiter();
new SqlScript(alterSql, getSqlTemplate(), !continueOnError, false, false, delimiter, null).execute();
new SqlScript(alterSql, getSqlTemplate(), !continueOnError, false, false, delimiter, null).execute(getDatabaseInfo().isRequiresAutoCommitForDdl());
} else {
log.info("Tables up to date. No alters found for {}", tablesProcessed);
}
Expand Down

0 comments on commit e1b2c38

Please sign in to comment.