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 mode queryContext func (select for update )got error: #609

Closed
576470954 opened this issue Sep 14, 2023 · 0 comments · Fixed by #612
Closed

AT mode queryContext func (select for update )got error: #609

576470954 opened this issue Sep 14, 2023 · 0 comments · Fixed by #612

Comments

@576470954
Copy link
Contributor

What happened:
use at mode to queryContext, (sql is select for update), I got an error:
Could not found any columnMeta in the table: Accounts: can't find column
image
image

What you expected to happen: execute normally

How to reproduce it (as minimally and precisely as possible):
seata-go verision 1.2.0

Anything else we need to know?:
I debug I found the reason:
image
this is stacktrace
image
the reason is haven't the dbName
image
and we need to add dbName here:
image

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

Successfully merging a pull request may close this issue.

1 participant