Commit 11c19587 authored by unknown's avatar unknown

removing my chmods so that the test can be run on non-Unix platforms

(kind request from the Novell team).
Note that old chmods in rpl_rotate_logs remain.


mysql-test/r/rpl000009.result:
  result update
mysql-test/t/rpl000009.test:
  removing my chmods so that the test can be run on non-Unix platforms.
parent b3d7569a
...@@ -111,22 +111,10 @@ n s ...@@ -111,22 +111,10 @@ n s
2 two bar 2 two bar
3 three bar 3 three bar
4 four bar 4 four bar
insert into bar.t1 values(10, 'should be there');
flush tables;
load data from master;
Error on delete of './bar/t1.MYI' (Errcode: 13)
select * from bar.t1;
n s
1 one bar
2 two bar
3 three bar
4 four bar
10 should be there
load table bar.t1 from master; load table bar.t1 from master;
Table 't1' already exists Table 't1' already exists
drop table bar.t1; drop table bar.t1;
load table bar.t1 from master; load table bar.t1 from master;
start slave;
drop database bar; drop database bar;
drop database foo; drop database foo;
drop database foo; drop database foo;
......
...@@ -110,13 +110,14 @@ select * from bar.t1; ...@@ -110,13 +110,14 @@ select * from bar.t1;
# Check that LOAD DATA FROM MASTER reports the error if it can't drop a # Check that LOAD DATA FROM MASTER reports the error if it can't drop a
# table to be overwritten. # table to be overwritten.
insert into bar.t1 values(10, 'should be there'); # DISABLED FOR NOW AS chmod IS NOT PORTABLE ON NON-UNIX
flush tables; # insert into bar.t1 values(10, 'should be there');
system chmod 500 var/slave-data/bar/; # flush tables;
--error 6 # system chmod 500 var/slave-data/bar/;
load data from master; # should fail (errno 13) # --error 6
system chmod 700 var/slave-data/bar/; # load data from master; # should fail (errno 13)
select * from bar.t1; # should contain the row (10, ...) # system chmod 700 var/slave-data/bar/;
# select * from bar.t1; # should contain the row (10, ...)
# Check that LOAD TABLE FROM MASTER fails if the table exists on slave # Check that LOAD TABLE FROM MASTER fails if the table exists on slave
...@@ -126,7 +127,8 @@ drop table bar.t1; ...@@ -126,7 +127,8 @@ drop table bar.t1;
load table bar.t1 from master; load table bar.t1 from master;
# as LOAD DATA FROM MASTER failed it did not restart slave threads # as LOAD DATA FROM MASTER failed it did not restart slave threads
start slave; # DISABLED FOR NOW
# start slave;
# Now time for cleanup # Now time for cleanup
connection master; connection master;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment