-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
task: help-wantedExtra attention is neededExtra attention is needed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
不带列字段时出现空指针,如insert into t values(1,1,1) on duplicate key update a = 2;
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
定位到时在通过插入的数据构造前置镜像时,recognizer.getInsertColumns返回了null,在遍历时出现空指针问题;此时应该根据values构造主键查询列,参考BaseInsertExecutor#parsePKValuesFromStatement
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
- xxx
- xxx
- xxx
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
- JDK version :
- Seata version:
- OS :
- Others:
Metadata
Metadata
Assignees
Labels
task: help-wantedExtra attention is neededExtra attention is needed