diff options
author | unknown <guilhem@mysql.com> | 2003-06-03 15:47:29 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2003-06-03 15:47:29 +0200 |
commit | ccb398b9eea25dab390db9a09ae80d1832bc1a8d (patch) | |
tree | a73c51b4fd36becc0396ea25c6c583d058afd7ae /mysql-test/r/rpl_loaddata.result | |
parent | 4e0e0b5b42a5f870ad13e3da4d724aa3d0f7011a (diff) | |
download | mariadb-git-ccb398b9eea25dab390db9a09ae80d1832bc1a8d.tar.gz |
-- Waiting for Monty's approval before push --
Bug 571: play LOAD DATA INFILE the same way on the slave as it was on the master:
if it was with IGNORE, do it with IGNORE,
if it was with REPLACE, do it with REPLACE,
and (the change) if it was with nothing, do it with nothing (not with IGNORE !!).
Bug 573: print a proper error message in case of duplicate entry in LOAD DATA INFILE
on the slave, i.e. a message where the keyname and key value appear :
'Duplicate entry '1' for key 1' and not 'Duplicate entry '%-.64s' for key %d'
mysql-test/r/rpl_loaddata.result:
result update
mysql-test/t/rpl_loaddata.test:
check if duplicate entries on the slave trigger an error
when the slave replicates LOAD DATA INFILE (without IGNORE or REPLACE)
(bug 571).
sql/log_event.cc:
Bug 571: play LOAD DATA INFILE the same way on the slave as it was on the master:
if it was with IGNORE, do it with IGNORE,
if it was with REPLACE, do it with REPLACE,
and (the change) if it was with nothing, do it with nothing (not with IGNORE !!).
Bug 573: print a proper error message in case of duplicate entry in LOAD DATA INFILE
on the slave, i.e. a message where the keyname and key value appear :
'Duplicate entry '1' for key 1' and not 'Duplicate entry '%-.64s' for key %d'
Diffstat (limited to 'mysql-test/r/rpl_loaddata.result')
-rw-r--r-- | mysql-test/r/rpl_loaddata.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_loaddata.result b/mysql-test/r/rpl_loaddata.result index 62071a07d0c..844a9d66cb3 100644 --- a/mysql-test/r/rpl_loaddata.result +++ b/mysql-test/r/rpl_loaddata.result @@ -22,3 +22,9 @@ day id category name drop table t1; drop table t2; drop table t3; +create table t1(a int, b int, unique(b)); +insert into t1 values(1,10); +load data infile '../../std_data/rpl_loaddata.dat' into table t1; +show status like 'slave_running'; +Variable_name Value +Slave_running OFF |