This commit is contained in:
Ken Stevens 2019-11-01 13:38:18 -04:00
parent bee993a0ec
commit 5f294f335d
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ public class DropIndexTask extends BaseTableTask<DropIndexTask> {
List<String> sqls = createDropIndexSql(getConnectionProperties(), getTableName(), myIndexName, getDriverType());
if (!sqls.isEmpty()) {
logInfo("Dropping {} index {} on table {}", uniquenessString, myIndexName, getTableName());
logInfo(ourLog, "Dropping {} index {} on table {}", uniquenessString, myIndexName, getTableName());
}
for (@Language("SQL") String sql : sqls) {
executeSql(getTableName(), sql);

View File

@ -61,7 +61,7 @@ public class DropTableTask extends BaseTableTask<DropTableTask> {
for (String nextIndex : indexNames) {
List<String> sqls = DropIndexTask.createDropIndexSql(getConnectionProperties(), getTableName(), nextIndex, getDriverType());
if (!sqls.isEmpty()) {
logInfo("Dropping index {} on table {} in preparation for table delete", nextIndex, getTableName());
logInfo(ourLog, "Dropping index {} on table {} in preparation for table delete", nextIndex, getTableName());
}
for (@Language("SQL") String sql : sqls) {
executeSql(getTableName(), sql);