You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/05/19 02:04:18 UTC
[GitHub] [shardingsphere-elasticjob] skaic commented on a change in pull request #1890: Use a auto increment unique identity to Mysql InnoDB PRIMARY KEY
skaic commented on a change in pull request #1890:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1890#discussion_r634863593
##########
File path: pom.xml
##########
@@ -53,7 +53,7 @@
<curator.version>5.1.0</curator.version>
<lombok.version>1.18.12</lombok.version>
<aspectj.version>1.9.1</aspectj.version>
- <slf4j.version>1.7.7</slf4j.version>
+ <slf4j.version>1.7.25</slf4j.version>
Review comment:
i can't, because mariaDB4j dependent slf4j to 1.7.20 version
##########
File path: elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/src/main/java/org/apache/shardingsphere/elasticjob/tracing/rdb/storage/RDBJobEventStorage.java
##########
@@ -358,9 +358,19 @@ private String truncateString(final String str) {
preparedStatement.setString(1, taskId);
try (ResultSet resultSet = preparedStatement.executeQuery()) {
while (resultSet.next()) {
- JobStatusTraceEvent jobStatusTraceEvent = new JobStatusTraceEvent(resultSet.getString(1), resultSet.getString(2), resultSet.getString(3), resultSet.getString(4),
- resultSet.getString(5), Source.valueOf(resultSet.getString(6)), resultSet.getString(7), resultSet.getString(8),
- State.valueOf(resultSet.getString(9)), resultSet.getString(10), new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(resultSet.getString(11)));
+ JobStatusTraceEvent jobStatusTraceEvent = new JobStatusTraceEvent(
Review comment:
ok,I roll back the code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org