Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1956

about table lock in mariadb (1 reply)

$
0
0
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.

Viewing all articles
Browse latest Browse all 1956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>