Mega Code Archive

 
Categories / MySQL / Transaction
 

Statements That Automatically Commit Transactions

ALTER TABLE:         Modifies a table definition. CREATE INDEX:        Creates an index on a table. DROP DATABASE:       Removes a database from a MySQL server. DROP INDEX:          Removes an index on a table. DROP TABLE:          Removes a table from a database. LOCK TABLES:         Prevents concurrent access to tables. RENAME TABLES:       Renames a table. SET AUTOCOMMIT=1:    Sets the autocommit mode to on. START TRANSACTION:   Begins a transaction. TRUNCATE TABLE:      Removes data from a table. UNLOCK TABLES:       Unlocks locked tables.