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
793
February 14, 2019 10:38AM
378
February 14, 2019 11:06AM


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.