We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql版本是5.5 将一个varchar类型的列的值由NULL,改为''时,从canal获取的entry的column里,isupdated属性为false。看了下LogEventConverter,感觉是isUpdated方法有个bug。newValue为"",旧值为NULL时,旧的column.getValue()为""。
The text was updated successfully, but these errors were encountered:
column.isNull()方法可以判断是否为null值
Sorry, something went wrong.
这是在otter中发现的,otter使用了canal的column.isUpdated方法来判断是否发生了变更,然后就有些列同步错误了。
fixed issue #135 , isUpdate bugfix
72ceb58
多谢反馈,问题代码已经修复,下个版本可发布
不客气。期待canal与otter更加完善
No branches or pull requests
mysql版本是5.5
将一个varchar类型的列的值由NULL,改为''时,从canal获取的entry的column里,isupdated属性为false。看了下LogEventConverter,感觉是isUpdated方法有个bug。newValue为"",旧值为NULL时,旧的column.getValue()为""。
The text was updated successfully, but these errors were encountered: