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

关于MDL锁释放时机的疑问 #307

Open
qy-liuhuo opened this issue Jan 28, 2025 · 0 comments
Open

关于MDL锁释放时机的疑问 #307

qy-liuhuo opened this issue Jan 28, 2025 · 0 comments

Comments

@qy-liuhuo
Copy link
Contributor

https://xiaolincoding.com/mysql/lock/mysql_lock.html#%E5%85%83%E6%95%B0%E6%8D%AE%E9%94%81

Image

对于事务操作确实是等到事务提交之后才释放 MDL,但是如果不是事务操作,只是普通的 CRUD 是如何处理的呢。感觉这个问题只回答了事务情况下的释放时机

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

1 participant