摘要:
CREATE TABLE `t` (`id` int(11) NOT NULL,`c` int(11) DEFAULT NULL,`d` int(11) DEFAULT NULL,PRIMARY KEY (`id`),KEY `c` (`c`)) ENGINE=InnoDB DEFAULT CHAR 阅读全文
摘要:
RC隔离级别下最容易出现的死锁。 CREATE TABLE `t5` (`id` int(11) NOT NULL,`name` int(11) DEFAULT NULL,PRIMARY KEY (`id`),UNIQUE KEY `uk_name` (`name`)) ENGINE=InnoDB 阅读全文
摘要:
set global tx_isolation='read-committed'; set global innodb_print_all_deadlocks=on; set global innodb_status_output_locks=ON; RC隔离级别。 CREATE TABLE `t1 阅读全文