伪代码: begin 事务 update 账号表 set money=money+1000 where 账号=账号B; update 账号表 set money=money-1000 where 账号=账号A; if 程序报错 rollback 事务; else commit 事务; 来源:https://www.cnblogs.com/xiaohuizhenyoucai/p/11459074.html 标签 事务处理 事务 update