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
b124d952
Commit
b124d952
authored
Sep 15, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed race condition that could cause diff to fail.
(Code taken from 5.5)
parent
055823ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
mysql-test/extra/rpl_tests/rpl_row_func003.test
mysql-test/extra/rpl_tests/rpl_row_func003.test
+9
-18
No files found.
mysql-test/extra/rpl_tests/rpl_row_func003.test
View file @
b124d952
...
...
@@ -47,17 +47,9 @@ delimiter ;|
--
disable_warnings
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
()),(
null
,
test
.
f1
()),(
null
,
test
.
f1
());
sleep
6
;
INSERT
INTO
test
.
t1
VALUES
(
null
,
test
.
f1
()),(
null
,
test
.
f1
()),(
null
,
test
.
f1
());
sleep
6
;
--
enable_warnings
#Select in this test are used for debugging
#select * from test.t1;
#connection slave;
#select * from test.t1;
connection
master
;
SET
AUTOCOMMIT
=
0
;
START
TRANSACTION
;
--
disable_warnings
...
...
@@ -65,18 +57,14 @@ INSERT INTO test.t1 VALUES (null,test.f1());
--
enable_warnings
ROLLBACK
;
SET
AUTOCOMMIT
=
1
;
#select * from test.t1;
#sleep 6;
#connection slave;
#select * from test.t1;
#connection master;
#used for debugging
#show binlog events;
# Sync master and slave for all engines except NDB
if
(
`SELECT UPPER(LEFT('$engine_type', 3)) != 'NDB'`
)
{
sync_slave_with_master
;
connection
master
;
}
#
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_SLAVE
--
compact
--
order
-
by
-
primary
--
skip
-
extended
-
insert
--
no
-
create
-
info
test
>
$MYSQLTEST_VARDIR
/
tmp
/
func003_slave
.
sql
...
...
@@ -93,5 +81,8 @@ DROP TABLE test.t1;
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
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