Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b5ebc678
Commit
b5ebc678
authored
Mar 12, 2008
by
mkindahl@dl145h.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
parents
81b1d712
8a4c6521
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
14 deletions
+39
-14
mysql-test/suite/rpl/r/rpl_loaddata.result
mysql-test/suite/rpl/r/rpl_loaddata.result
+2
-1
mysql-test/suite/rpl/r/rpl_master_pos_wait.result
mysql-test/suite/rpl/r/rpl_master_pos_wait.result
+6
-0
mysql-test/suite/rpl/t/rpl_master_pos_wait.test
mysql-test/suite/rpl/t/rpl_master_pos_wait.test
+11
-0
mysql-test/suite/rpl/t/rpl_skip_error.test
mysql-test/suite/rpl/t/rpl_skip_error.test
+14
-9
mysql-test/suite/rpl/t/rpl_slave_status.test
mysql-test/suite/rpl/t/rpl_slave_status.test
+3
-2
mysql-test/suite/rpl/t/rpl_temporary.test
mysql-test/suite/rpl/t/rpl_temporary.test
+3
-2
No files found.
mysql-test/suite/rpl/r/rpl_loaddata.result
View file @
b5ebc678
...
...
@@ -83,7 +83,8 @@ load data infile '../std_data_ln/rpl_loaddata2.dat' into table t2 fields
terminated by ',' optionally enclosed by '%' escaped by '@' lines terminated by
'\n##\n' starting by '>' ignore 1 lines;
ERROR 23000: Duplicate entry '2003-03-22' for key 'day'
drop table t2;
set @@global.sql_slave_skip_counter=1;
start slave;
drop table t2;
drop table t1;
CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=INNODB;
...
...
mysql-test/suite/rpl/r/rpl_master_pos_wait.result
View file @
b5ebc678
...
...
@@ -16,3 +16,9 @@ select master_pos_wait('master-bin.999999',0);
stop slave sql_thread;
master_pos_wait('master-bin.999999',0)
NULL
"*** must be empty ***"
show slave status;
"*** must be NULL ***"
select master_pos_wait('foo', 98);
master_pos_wait('foo', 98)
NULL
mysql-test/suite/rpl/t/rpl_master_pos_wait.test
View file @
b5ebc678
...
...
@@ -15,4 +15,15 @@ stop slave sql_thread;
connection
slave
;
reap
;
#
# bug#26622 MASTER_POS_WAIT does not work as documented
#
connection
master
;
echo
"*** must be empty ***"
;
query_vertical
show
slave
status
;
echo
"*** must be NULL ***"
;
select
master_pos_wait
(
'foo'
,
98
);
# End of 4.1 tests
mysql-test/suite/rpl/t/rpl_skip_error.test
View file @
b5ebc678
...
...
@@ -37,17 +37,23 @@ insert into t1 values (1);
# These should work fine
insert
into
t1
values
(
2
),(
3
);
--
echo
[
on
slave
]
sync_slave_with_master
;
select
*
from
t1
ORDER
BY
n
;
--
echo
====
Test
With
sql_mode
=
strict_trans_tables
====
save_master_pos
;
connection
slave
;
sync_with_master
;
select
*
from
t1
;
insert
into
t1
values
(
7
),
(
8
);
connection
master
;
drop
table
t1
;
sync_slave_with_master
;
# End of 4.1 tests
--
echo
[
on
master
]
#
# #28839 Errors in strict mode silently stop SQL thread if --slave-skip-errors exists
#
connection
master
;
create
table
t1
(
a
int
primary
key
);
insert
into
t1
values
(
1
),(
2
);
delete
from
t1
where
@@
server_id
=
1
;
set
sql_mode
=
strict_trans_tables
;
insert
into
t1
values
(
7
),
(
8
),
(
9
);
...
...
@@ -62,5 +68,4 @@ source include/show_slave_status2.inc;
connection
master
;
drop
table
t1
;
sync_slave_with_master
;
# End of 5.0 tests
mysql-test/suite/rpl/t/rpl_slave_status.test
View file @
b5ebc678
...
...
@@ -50,9 +50,10 @@ show slave status;
connection
slave
;
drop
table
t1
;
delete
from
mysql
.
user
where
user
=
'rpl'
;
# cleanup: slave io thread has been stopped "irrecoverably"
# so we clean up mess manually
connection
master
;
drop
table
t1
;
# end of test case for BUG#10780
# end of 4.1 tests
mysql-test/suite/rpl/t/rpl_temporary.test
View file @
b5ebc678
...
...
@@ -132,7 +132,7 @@ drop table t1,t2;
# don't get any memory leaks for this
create
temporary
table
t3
(
f
int
);
sync_with_master
;
sync_
slave_
with_master
;
# The server will now close done
...
...
@@ -143,7 +143,8 @@ sync_with_master;
connection
master
;
create
temporary
table
t4
(
f
int
);
create
table
t5
(
f
int
);
sync_with_master
;
sync_slave_with_master
;
connection
master
;
# find dumper's $id
select
id
from
information_schema
.
processlist
where
command
=
'Binlog Dump'
into
@
id
;
kill
@
id
;
# to stimulate reconnection by slave w/o timeout
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment