List:Internals« Previous MessageNext Message »
From:sasha Date:August 2 2005 9:15pm
Subject:bk commit into 4.1 tree (sasha:1.2366) BUG#10456
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of sasha. When sasha does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2366 05/08/02 15:15:28 sasha@stripped +1 -0
  The earlier commit for BUG#10456 did not add the test file

  mysql-test/t/rpl_insert_select.test
    1.1 05/08/02 15:15:24 sasha@stripped +19 -0
    New BitKeeper file ``mysql-test/t/rpl_insert_select.test''

  mysql-test/t/rpl_insert_select.test
    1.0 05/08/02 15:15:24 sasha@stripped +0 -0
    BitKeeper file /reiser-data/mysql-dev/mysql-4.1/mysql-test/t/rpl_insert_select.test

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	sasha
# Host:	mysql.sashanet.com
# Root:	/reiser-data/mysql-dev/mysql-4.1
--- New file ---
+++ mysql-test/t/rpl_insert_select.test	05/08/02 15:15:24
# Testcase for BUG#10456 - INSERT INTO ... SELECT violating a primary key
# breaks replication

-- source include/master-slave.inc
connection master;

create table t1 (n int not null primary key);
insert into t1 values (1);
create table t2 (n int);
insert into t2 values (1);
insert ignore into t1 select * from t2;
insert into t1 values (2);
sync_slave_with_master;
connection slave;
select * from t1;

connection master;
drop table t1,t2;
sync_slave_with_master;

Thread
bk commit into 4.1 tree (sasha:1.2366) BUG#10456sasha2 Aug