2006-08-30 10:22:43 +03:00
|
|
|
create table t1 (a int not null auto_increment, primary key (a)) engine=myisam;
|
|
|
|
set @@session.auto_increment_increment=1, @@session.auto_increment_offset=1;
|
|
|
|
insert delayed into t1 values (207);
|
|
|
|
insert delayed into t1 values (null);
|
|
|
|
insert delayed into t1 values (300);
|
2007-04-10 18:01:29 +03:00
|
|
|
show binlog events from <binlog_start>;
|
2006-09-28 17:55:45 +03:00
|
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
2007-04-10 18:01:29 +03:00
|
|
|
master-bin.000001 # Query # # use `test`; create table t1 (a int not null auto_increment, primary key (a)) engine=myisam
|
|
|
|
master-bin.000001 # Query # # use `test`; insert delayed into t1 values (207)
|
|
|
|
master-bin.000001 # Intvar # # INSERT_ID=208
|
|
|
|
master-bin.000001 # Query # # use `test`; insert delayed into t1 values (null)
|
|
|
|
master-bin.000001 # Query # # use `test`; insert delayed into t1 values (300)
|
2006-09-12 15:42:13 +02:00
|
|
|
insert delayed into t1 values (null),(null),(null),(null);
|
|
|
|
insert delayed into t1 values (null),(null),(400),(null);
|
2006-09-25 16:58:07 +03:00
|
|
|
11 == 11
|
2006-08-30 10:22:43 +03:00
|
|
|
select * from t1;
|
|
|
|
a
|
|
|
|
207
|
|
|
|
208
|
|
|
|
300
|
2006-09-12 15:42:13 +02:00
|
|
|
301
|
|
|
|
302
|
|
|
|
303
|
|
|
|
304
|
|
|
|
305
|
|
|
|
306
|
|
|
|
400
|
|
|
|
401
|
2006-08-30 10:22:43 +03:00
|
|
|
drop table t1;
|