BUG: TINYINT(1)
fields in MYSQL
are parsed as BIT
, resulting in the value in UNDO_LOG
is not equals the value in db.
#6064
Labels
type: bug
Category issues or prs related to bug.
Ⅰ. Issue Description
TINYINT(1)
fields inMYSQL
are parsed asBIT
, resulting in the value inUNDO_LOG
is not equals the value in db.在MYSQL中类型为
TINYINT(1)
的字段,被解析为BIT
类型,导致保存进UNDO_LOG
中的值为布尔型不等于数据库中的值,最终,导致回滚后的值,要么是0,要么是1。表结构截图:
DEBUG字段类型截图:
DEBUG获取到的字段值截图:
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Minimal yet complete reproducer code (or URL to code):
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
java -version
):uname -a
):The text was updated successfully, but these errors were encountered: