seaswalker / posts

0 stars 0 forks source link

MySQL手动开启事务、修改隔离级别 #31

Open seaswalker opened 3 years ago

seaswalker commented 3 years ago
start TRANSACTION;
set session transaction isolation level repeatable read;
show variables like '%tx_isolation%';
commit;