You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
when I write sql "select sth for update" and use QueryContext func.Why I use QueryContext(not ExecContext) because I want to
get the rows:
I got error:
What you expected to happen:
execute normally
How to reproduce it (as minimally and precisely as possible):
sql and func like my code
Anything else we need to know?:
the reason maybe in seata-go, it QueryContext and then ExecContext, so the mysql conn is something wrong
this is the QueryContext code:
and then :after exec the business func (showed upon) in line 178, it exec line:185
and this conn cant use twice(watching in mysql has been set to true, and haven't set to false after queryContext complete)
In mysql driver QueryContext func haven't finish the mc unless err != nil(it's diff with ExecContext func)
The text was updated successfully, but these errors were encountered:
What happened:
when I write sql "select sth for update" and use QueryContext func.Why I use QueryContext(not ExecContext) because I want to
get the rows:
I got error:
What you expected to happen:
execute normally
How to reproduce it (as minimally and precisely as possible):
sql and func like my code
Anything else we need to know?:
the reason maybe in seata-go, it QueryContext and then ExecContext, so the mysql conn is something wrong
this is the QueryContext code:
and then :after exec the business func (showed upon) in line 178, it exec line:185
and this conn cant use twice(watching in mysql has been set to true, and haven't set to false after queryContext complete)
In mysql driver QueryContext func haven't finish the mc unless err != nil(it's diff with ExecContext func)
The text was updated successfully, but these errors were encountered: