Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
insert_select-binlog.result
Package: mysql-4.1.16-win-src.zip [view]
Upload User: romrleung
Upload Date: 2022-05-23
Package Size: 18897k
Code Size: 1k
Category:
MySQL
Development Platform:
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;