Skip to content

Commit

Permalink
fixed small nit
Browse files Browse the repository at this point in the history
  • Loading branch information
yanxinyi committed Oct 16, 2020
1 parent eb3c076 commit 62acff3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2272,8 +2272,8 @@ public static boolean isUpdateViewIndexIdColumnDataTypeFromShortToLongNeeded(
return Bytes.compareTo(cell.getValue(),
PInteger.INSTANCE.toBytes(Types.SMALLINT)) == 0 ? true : false;
} catch (Exception e) {
LOGGER.error("Checking VIEW_INDEX_ID data type for upgrade failed: " + e.getMessage() +
". Full stacktrace: " + ExceptionUtils.getFullStackTrace(e));
LOGGER.error(String.format("Checking VIEW_INDEX_ID data type for upgrade failed: %s. " +
"Full stacktrace: %s", e.getMessage(),ExceptionUtils.getFullStackTrace(e)));
}
return false;
}
Expand All @@ -2290,8 +2290,8 @@ public static void updateViewIndexIdColumnDataTypeFromShortToLong(
viewIndexIdPut.add(viewIndexIdKV);
sysTable.put(viewIndexIdPut);
} catch (Exception e) {
LOGGER.error("Upgrade/change VIEW_INDEX_ID data type failed: " + e.getMessage() +
". Full stacktrace: " + ExceptionUtils.getFullStackTrace(e));
LOGGER.error(String.format("Upgrade/change VIEW_INDEX_ID data type failed: %s. " +
"Full stacktrace: %s",e.getMessage(), ExceptionUtils.getFullStackTrace(e)));
}
}

Expand Down

0 comments on commit 62acff3

Please sign in to comment.