mysql事务问题演示
This commit is contained in:
14
MySQL/transaction-error/ddl.sql
Normal file
14
MySQL/transaction-error/ddl.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
create schema errors;
|
||||
-- 生成演示用的表
|
||||
create table errors.customer
|
||||
(
|
||||
id int auto_increment
|
||||
primary key,
|
||||
username varchar(50) not null
|
||||
);
|
||||
create table errors.customer_back
|
||||
(
|
||||
id int auto_increment
|
||||
primary key,
|
||||
username varchar(50) not null
|
||||
);
|
||||
Reference in New Issue
Block a user