|
@@ -718,8 +718,6 @@ public class LogEventConvert extends AbstractCanalLifeCycle implements BinlogPar
|
|
|
isBinary = true;
|
|
|
} else if (StringUtils.containsIgnoreCase(fieldMeta.getColumnType(), "BINARY")) {
|
|
|
isBinary = true;
|
|
|
- } else if (StringUtils.containsIgnoreCase(fieldMeta.getColumnType(), "TINYINT(1)")) {
|
|
|
- isSingleBit = true;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -774,10 +772,6 @@ public class LogEventConvert extends AbstractCanalLifeCycle implements BinlogPar
|
|
|
// 对象为number类型,直接valueof即可
|
|
|
columnBuilder.setValue(String.valueOf(value));
|
|
|
}
|
|
|
-
|
|
|
- if (isSingleBit && javaType == Types.TINYINT) {
|
|
|
- javaType = Types.BIT;
|
|
|
- }
|
|
|
break;
|
|
|
case Types.REAL: // float
|
|
|
case Types.DOUBLE: // double
|