有表结构如下: CREATE TABLE `test` (`a` int(11) NO...
有表结构如下: CREATE TABLE `test` (`a` int(11) NOT NULL, `b` int(11) DEFAULT NULL, `c` int(11) DEFAULT NULL, PRIMARY KEY (`a`), KEY `idx1` (`c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 +---+------+------+ | a | b | c | +---+------+------+ | 1 | 1 | 1 | | 2 | 2 | 2 | | 3 | 3 | 3 | +---+------+------+ 下面有A,B两个连接开启的事务: A连接 B连接 begin begin update test set c = 15 where a = 1 ; update test set c = 12 where a = 2 ; update test set b = 15 where b = 1 ; update test set c = 12 where a = 3 ; update test set b = 15 where b = 1 ; 下面描述正确的是:
A、B连接的第一个update不会被阻塞
B、A连接的第二个update会被阻塞
C、B连接的第二个update会被阻塞
D、B连接的第三个update不会被阻塞