INNODBmysql
事務裏,全部表引擎必須爲INNODB,在非事務表上操做,不會警告,不會報錯,但沒有效果sql
mysql> begin; # 開始事務 Query OK, 0 rows affected (0.00 sec) mysql> insert into xxx value(x); Query OK, 1 rows affected (0.01 sec) mysql> insert into xxx value(6); Query OK, 1 rows affected (0.00 sec) mysql> commit; # 提交事務 Query OK, 0 rows affected (0.01 sec)