Does "SELECT ... FOR UPDATE"
lock joined rows in MySQL?
If so, is it possible to disable this behaviour?
There is nothing about this in the documentation. I've seen that Oracle supports "SELECT ... FOR UPDATE OF table_name"
where table_name is the main table or one of the joined tables for which the affected rows will be locked, but I've never seen this mentioned in context with MySQL.
and then
Does this mySQL doc not provide the answers?
See this MySQL doc page. It says:
and:
"scanned rows" refers to rows from any of the tables that are used in the join.