分类:
2005-09-13 09:02:36
=
有几种情况是无法rollback的:
ALTER TABLE
BEGIN
CREATE INDEX
CREATE TABLE
CREATE DATABASE
DROP DATABASE
DROP INDEX
DROP TABLE
LOAD MASTER DATA
LOCK TABLES
RENAME TABLE
SET AUTOCOMMIT=1
START TRANSACTION
TRUNCATE TABLE
UNLOCK TABLES
--------------------------------------------
BEGIN;
INSERT INTO TEMP(name) VALUES('test');
ROLLBACK;