Appearance
事务是一组操作的集合,他就像是一条执行链一样,要么同时失败,要么同时成功
SELECT @@autocommit; SET @@autocommit = 0;
COMMIT;
ROLLBACK;