SET session transaction isolation level read committed;SET SESSION binlog_format = 'ROW';(或者是MIXED)
select * from table ....
select * from table where ? lock in share mode; select * from table where ? for update; insert; update; delete;