MySQL Forums
Forum List  »  InnoDB

Re: why UPDATE requires share lock(S) for table joined
Posted by: Rick James
Date: November 13, 2014 09:58AM

Shared lock is weaker than Xclusive lock.

Let's see SHOW CREATE TABLE for each table.

And...
EXPLAIN 
SELECT  *
    FROM  t
    inner join  lktest on lktest.c3=t.x
    where  lktest.c3=2; 

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: why UPDATE requires share lock(S) for table joined
1021
November 13, 2014 09:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.