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

Support SKIP LOCKED and NOWAIT #1370

Open
beihai0xff opened this issue Nov 3, 2022 · 1 comment
Open

Support SKIP LOCKED and NOWAIT #1370

beihai0xff opened this issue Nov 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@beihai0xff
Copy link

Since MySQL 8.0.1 introduces two new features SKIP LOCKED and NOWAIT to handle hot rows Locking (FOR UPDATE), could go-mysql-server support this?

The MySQL doc:
MySQL 8.0.1: Using SKIP LOCKED and NOWAIT to handle hot rows

@zachmu zachmu added the enhancement New feature or request label Nov 3, 2022
@zachmu
Copy link
Member

zachmu commented Nov 3, 2022

We can support parsing these constructs in the short term, but the built-in in-memory database implementation is currently not even thread safe.

We're a long way from having row-level locking.

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

No branches or pull requests

2 participants