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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
172f6491
Commit
172f6491
authored
Oct 16, 2008
by
Serge Kozlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#39593. Removed test case rpl_row_stop_middle with result file
parent
39d165dd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
71 deletions
+0
-71
mysql-test/suite/rpl/r/rpl_row_stop_middle.result
mysql-test/suite/rpl/r/rpl_row_stop_middle.result
+0
-26
mysql-test/suite/rpl/t/rpl_row_stop_middle.test
mysql-test/suite/rpl/t/rpl_row_stop_middle.test
+0
-45
No files found.
mysql-test/suite/rpl/r/rpl_row_stop_middle.result
deleted
100644 → 0
View file @
39d165dd
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
create table t1 (a int not null auto_increment primary key, b int, key(b));
stop slave;
INSERT INTO t1 (a) VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
INSERT INTO t1 (a) SELECT null FROM t1;
start slave;
stop slave;
drop table t1;
drop table t1;
mysql-test/suite/rpl/t/rpl_row_stop_middle.test
deleted
100644 → 0
View file @
39d165dd
# Test for BUG#11729: see if, when STOP SLAVE occurs while the slave
# SQL thread has processed a Table_map_log_event but has not processed
# the last Rows_log_event associated to it, the slave thread does not
# forget to close its tables.
# Can be run with statement-based but no interest (and long test)
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
master
-
slave
.
inc
connection
master
;
create
table
t1
(
a
int
not
null
auto_increment
primary
key
,
b
int
,
key
(
b
));
sync_slave_with_master
;
stop
slave
;
connection
master
;
INSERT
INTO
t1
(
a
)
VALUES
(
1
),(
2
),(
3
),(
4
),(
5
),(
6
),(
7
),(
8
),(
9
),(
10
);
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
INSERT
INTO
t1
(
a
)
SELECT
null
FROM
t1
;
connection
slave
;
start
slave
;
# hope one second is not enough for slave to reach the last
# Rows_log_event, so that test actually tests something.
let
$wait_condition
=
SELECT
COUNT
(
*
)
>=
10
FROM
t1
;
--
source
include
/
wait_condition
.
inc
stop
slave
;
# see if slave hangs on DROP TABLE
drop
table
t1
;
connection
master
;
# cleanup
drop
table
t1
;
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