CREATE TABLE `test_no_key` ( `f1` int(11) NOT NULL , `f2` varchar(11) DEFAULT NULL ) ENGINE=InnoDB
插入俩条数据
insert into from test_no_key (f1,f2) values (1,2); insert into test_no_key (f1,f2) values (2,2);
开启俩个进程
CREATE TABLE `test_no_key` ( `f1` int(11) NOT NULL , `f2` varchar(11) DEFAULT NULL ) ENGINE=InnoDB
insert into from test_no_key (f1,f2) values (1,2); insert into test_no_key (f1,f2) values (2,2);