funky-eyes commented on code in PR #6232:
URL: https://github.com/apache/incubator-seata/pull/6232#discussion_r1448583171


##########
rm-datasource/src/main/java/io/seata/rm/datasource/undo/mysql/MySQLUndoDeleteExecutor.java:
##########
@@ -74,7 +74,7 @@ protected String buildUndoSQL() {
         String insertColumns = fields.stream()
             .map(field -> ColumnUtils.addEscape(field.getName(), 
JdbcConstants.MYSQL))
             .collect(Collectors.joining(", "));
-        String insertValues = fields.stream().map(field -> "?")
+        String insertValues = fields.stream().map(field -> 
MySQLJsonHelper.convertIfJson(field,beforeImage.getTableMeta()))

Review Comment:
   ```suggestion
           String insertValues = fields.stream().map(field -> 
MySQLJsonHelper.convertIfJson(field, beforeImage.getTableMeta()))
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to