酷申汽车网
您的当前位置:首页Mysql数据进行并发锁定_MySQL

Mysql数据进行并发锁定_MySQL

来源:酷申汽车网


mysql> LOCK TABLES real_table WRITE, insert_table WRITE;
mysql> insert into real_table select * from insert_table;
mysql> delete from insert_table;
mysql> UNLOCK TABLES;
显示全文