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
71a1b1e7
Commit
71a1b1e7
authored
Nov 28, 2009
by
Serge Kozlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#3894, post-push fix.
parent
6475109c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
25 deletions
+13
-25
mysql-test/extra/rpl_tests/rpl_row_func003.test
mysql-test/extra/rpl_tests/rpl_row_func003.test
+13
-24
mysql-test/suite/rpl/r/rpl_bug33931.result
mysql-test/suite/rpl/r/rpl_bug33931.result
+0
-1
No files found.
mysql-test/extra/rpl_tests/rpl_row_func003.test
View file @
71a1b1e7
...
@@ -3,10 +3,7 @@
...
@@ -3,10 +3,7 @@
# Original Date: Aug/15/2005 #
# Original Date: Aug/15/2005 #
# Update: 08/29/2005 Comment out sleep. Only needed for debugging #
# Update: 08/29/2005 Comment out sleep. Only needed for debugging #
#############################################################################
#############################################################################
# Note: Many lines are commented out in this test case. These were used for #
# Note: Time changes and is not deteministic, so instead we dump both the #
# creating the test case and debugging and are being left for #
# debugging, but they can not be used for the regular testing as the #
# Time changes and is not deteministic, so instead we dump both the #
# master and slave and diff the dumps. If the dumps differ then the #
# master and slave and diff the dumps. If the dumps differ then the #
# test case will fail. To run during diff failuers, comment out the #
# test case will fail. To run during diff failuers, comment out the #
# diff. #
# diff. #
...
@@ -26,7 +23,6 @@ DROP TABLE IF EXISTS test.t1;
...
@@ -26,7 +23,6 @@ DROP TABLE IF EXISTS test.t1;
--
enable_warnings
--
enable_warnings
eval
CREATE
TABLE
test
.
t1
(
a
INT
NOT
NULL
AUTO_INCREMENT
,
c
CHAR
(
16
),
PRIMARY
KEY
(
a
))
ENGINE
=
$engine_type
;
eval
CREATE
TABLE
test
.
t1
(
a
INT
NOT
NULL
AUTO_INCREMENT
,
c
CHAR
(
16
),
PRIMARY
KEY
(
a
))
ENGINE
=
$engine_type
;
delimiter
|
;
delimiter
|
;
...
@@ -44,34 +40,24 @@ END|
...
@@ -44,34 +40,24 @@ END|
delimiter
;
|
delimiter
;
|
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
()),(
null
,
test
.
f1
()),(
null
,
test
.
f1
());
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
()),(
null
,
test
.
f1
()),(
null
,
test
.
f1
());
let
$wait_time
=
6
;
--
source
include
/
wait_for_ndb_to_binlog
.
inc
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
()),(
null
,
test
.
f1
()),(
null
,
test
.
f1
());
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
()),(
null
,
test
.
f1
()),(
null
,
test
.
f1
());
--
source
include
/
wait_for_ndb_to_binlog
.
inc
#Select in this test are used for debugging
#select * from test.t1;
#connection slave;
#select * from test.t1;
connection
master
;
SET
AUTOCOMMIT
=
0
;
SET
AUTOCOMMIT
=
0
;
START
TRANSACTION
;
START
TRANSACTION
;
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
());
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
());
ROLLBACK
;
ROLLBACK
;
SET
AUTOCOMMIT
=
1
;
SET
AUTOCOMMIT
=
1
;
#select * from test.t1;
#sleep 6;
#connection slave;
#select * from test.t1;
#connection master;
#used for debugging
# Sync master and slave for all engines except NDB
#show binlog events;
if
(
`SELECT UPPER(LEFT('$engine_type', 3)) != 'NDB'`
)
{
sync_slave_with_master
;
connection
master
;
}
# Sync master and slave for NDB engine
let
$wait_time
=
6
;
--
source
include
/
wait_for_ndb_to_binlog
.
inc
#
t
ime to dump the databases and so we can see if they match
#
T
ime to dump the databases and so we can see if they match
--
exec
$MYSQL_DUMP
--
compact
--
order
-
by
-
primary
--
skip
-
extended
-
insert
--
no
-
create
-
info
test
>
$MYSQLTEST_VARDIR
/
tmp
/
func003_master
.
sql
--
exec
$MYSQL_DUMP
--
compact
--
order
-
by
-
primary
--
skip
-
extended
-
insert
--
no
-
create
-
info
test
>
$MYSQLTEST_VARDIR
/
tmp
/
func003_master
.
sql
--
exec
$MYSQL_DUMP_SLAVE
--
compact
--
order
-
by
-
primary
--
skip
-
extended
-
insert
--
no
-
create
-
info
test
>
$MYSQLTEST_VARDIR
/
tmp
/
func003_slave
.
sql
--
exec
$MYSQL_DUMP_SLAVE
--
compact
--
order
-
by
-
primary
--
skip
-
extended
-
insert
--
no
-
create
-
info
test
>
$MYSQLTEST_VARDIR
/
tmp
/
func003_slave
.
sql
...
@@ -88,5 +74,8 @@ DROP TABLE test.t1;
...
@@ -88,5 +74,8 @@ DROP TABLE test.t1;
diff_files
$MYSQLTEST_VARDIR
/
tmp
/
func003_master
.
sql
$MYSQLTEST_VARDIR
/
tmp
/
func003_slave
.
sql
;
diff_files
$MYSQLTEST_VARDIR
/
tmp
/
func003_master
.
sql
$MYSQLTEST_VARDIR
/
tmp
/
func003_slave
.
sql
;
# Clean up
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
func003_master
.
sql
;
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
func003_slave
.
sql
;
# End of 5.0 test case
# End of 5.0 test case
mysql-test/suite/rpl/r/rpl_bug33931.result
View file @
71a1b1e7
reset master;
reset master;
reset slave;
reset slave;
call mtr.add_suppression("Failed during slave I/O thread initialization");
call mtr.add_suppression("Failed during slave I/O thread initialization");
stop slave;
SET GLOBAL debug="d,simulate_io_slave_error_on_init,simulate_sql_slave_error_on_init";
SET GLOBAL debug="d,simulate_io_slave_error_on_init,simulate_sql_slave_error_on_init";
start slave;
start slave;
show slave status;
show slave status;
...
...
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