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

order by+ lock in share mode/for update, lock clause is ignored #127

Closed
actiontech-bot opened this issue Aug 25, 2017 · 3 comments
Closed

Comments

@actiontech-bot
Copy link
Member

actiontech-bot commented Aug 25, 2017

Raised by: @FlyingMao
Steps:

  1. Query: select * from sbtest1 order by id lock in share mode;
  2. General log:
    image
@actiontech-bot
Copy link
Member Author

By @FlyingMao

Followings are ignored in composite query:

  • SQL_BIG_RESULT/SQL_SMALL_RESULT
  • SQL_BUFFER_RESULT
  • STRAIGHT_JOIN
  • SQL_CACHE/SQL_NO_CACHE
  • SQL_CALC_FOUND_ROWS
  • for update/lock in share mode

@irene-coming
Copy link
Member

duplicate issue with #473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants