-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
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
seata 1.8.0版本 使用DM数据库报错Before image size is not equaled to after image size, probably because you updated the primary keys #6960
Comments
把你的表结构和sql发出来看下,以及buildBeforeImageSQL和buildAfterImageSQL 帮忙看下是什么样的。debug UpdateExecutor这个类 |
建表语句 执行的语句 beforeImageSql afterImageSql |
信息补充 |
收到,我们先看下谢谢 |
Ⅰ. Issue Description
seata 1.8.0版本 使用DM数据库报错Before image size is not equaled to after image size, probably because you updated the primary keys
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
image
当建立联合索引的字段中存在主键字段时会把索引的indexType设置为IndexType.PRIMARY 导致生成的afterImageSql错误
错误代码位置
Just paste your stack trace here!
Ⅲ. Describe what you expected to happen
能够正常执行
Ⅳ. How to reproduce it (as minimally and precisely as possible)
可参考:#3946
Minimal yet complete reproducer code (or URL to code):
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
JDK version : 1.8
Others: seata1.8.0
The text was updated successfully, but these errors were encountered: