Skip to content
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

AT不填默认主键,insert的时候会panic #645

Open
vlon opened this issue Jan 10, 2024 · 3 comments
Open

AT不填默认主键,insert的时候会panic #645

vlon opened this issue Jan 10, 2024 · 3 comments
Assignees

Comments

@vlon
Copy link

vlon commented Jan 10, 2024

AT是不是主键必填,在用mysql的自增id作为主键的时候,insert一条数据如果id没指定的话,会panic。
1704852831354_6373099E-29A0-483e-9D31-99111ECD10DD

What happened:

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

@smiletrl
Copy link
Contributor

@vlon 我这边跑了下是正常的啊,注释后,正常可以跑。建议使用最新的seata-go master 分支代码跑下看看。旧的seata-go 可能有问题。

@panlei-coder
Copy link

我尝试复现一下

@Code-Fight
Copy link
Contributor

最新版本没有这个问题,可以关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants