- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
insert_select-binlog.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
Visual C++
- create table t1(a int, unique(a));
- insert into t1 values(2);
- create table t2(a int);
- insert into t2 values(1),(2);
- reset master;
- insert into t1 select * from t2;
- ERROR 23000: Duplicate entry '2' for key 1
- show binlog events;
- Log_name Pos Event_type Server_id Orig_log_pos Info
- master-bin.000001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
- master-bin.000001 79 Query 1 79 use `test`; insert into t1 select * from t2
- select * from t1;
- a
- 1
- 2
- drop table t1, t2;
- create table t1(a int);
- insert into t1 values(1),(1);
- reset master;
- create table t2(unique(a)) select a from t1;
- ERROR 23000: Duplicate entry '1' for key 1
- show binlog events;
- Log_name Pos Event_type Server_id Orig_log_pos Info
- master-bin.000001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
- drop table t1;