MySQL Forums
Forum List  »  InnoDB

about table lock in mariadb
Posted by: Craig Liu
Date: February 14, 2019 10:38AM

Just want to make sure.

For a single query like "select * from table1 where id<200;" (assume table1 is innoDB). It is said that no need use "select * from table1 where id<200 for share;". Because MariaDB server will automatic add necessary locks for related rows. The same for insert, update query.

Is it ture?
Further is it possible to give me docs or links for this topic.
Thanks very much.

Options: ReplyQuote


Subject
Views
Written By
Posted
about table lock in mariadb
116
February 14, 2019 10:38AM
77
February 14, 2019 11:06AM


Sorry, only registered users may post in this forum.

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.