Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Nov 30, 2023
1 parent 1fd741a commit ef61c29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions core/src/main/java/io/seata/core/protocol/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ public static void checkVersion(String version) throws IncompatibleVersionExcept
* @return true: client version is above or equal version 1.5.0, false: on the contrary
*/
public static boolean isAboveOrEqualVersion150(String version) {
if (StringUtils.isBlank(version)) {
return false;
}

boolean isAboveOrEqualVersion150 = false;
try {
long clientVersion = convertVersion(version);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private String buildGroupBy(List<String> pkColumns,List<String> allSelectColumns
}
} catch (Exception e) {
groupByPks = false;
logger.warn("determine group by pks or all columns error:", e);
logger.warn("determine group by pks or all columns error:{}",e.getMessage());
}
List<String> groupByColumns = groupByPks ? pkColumns : allSelectColumns;
StringBuilder groupByStr = new StringBuilder();
Expand Down

0 comments on commit ef61c29

Please sign in to comment.