MySQL SELECT ... FOR SHARE 会不会分配事务id ? #2682
kaiser20106
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
已知
A transaction ID is only needed for a transaction that might perform write operations or locking reads such as SELECT ... FOR UPDATE.
加了for share 跟普通select trx_id一样,如果说不分配事务id,那上面的mysql原文怎么理解,locking reads包括for share和 FOR UPDATE啊
Beta Was this translation helpful? Give feedback.
All reactions