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);
|
jsonValue.toJsonString(builder);
|
||||||
value = builder.toString();
|
value = builder.toString();
|
||||||
buffer.position(position + len);
|
buffer.position(position + len);
|
||||||
|
|
||||||
// byte[] binary = new byte[len];
|
// byte[] binary = new byte[len];
|
||||||
// buffer.fillBytes(binary, 0, len);
|
// buffer.fillBytes(binary, 0, len);
|
||||||
// value = binary;
|
// value = binary;
|
||||||
javaType = Types.VARBINARY;
|
javaType = Types.VARCHAR;
|
||||||
length = len;
|
length = len;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user