GRE写作题目: Much of the information that people assume is‘factual’actually turns out to be inaccurate. Thus,any piece of information referred to as a‘fact’should be mistrusted since it may well be p
前言 不多bb了,直接上代码和注释,看不懂的找博主 数据库初始状态 //数据库中 id = 1 name = 0000 balance = 2222//数据库中 id = 2 name = aaaa balance = null//other id = 1 name = AAAA//other id = 2 name = BBBB 总结: 1、事物开启的时间 如果service中
1:查看当前的事务 SELECT * FROM INFORMATION_SCHEMA.INNODB_TRX; 2:查看当前锁定的事务 SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCKS; 3:查看当前等锁的事务 SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCK_WAITS; 查出死锁进程:SHOW PRO