mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed json type cast exception
This commit is contained in:
@@ -957,11 +957,10 @@ public final class RowsLogBuffer {
|
||||
jsonValue.toJsonString(builder);
|
||||
value = builder.toString();
|
||||
buffer.position(position + len);
|
||||
|
||||
// byte[] binary = new byte[len];
|
||||
// buffer.fillBytes(binary, 0, len);
|
||||
// value = binary;
|
||||
javaType = Types.VARBINARY;
|
||||
javaType = Types.VARCHAR;
|
||||
length = len;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user