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
f3f29182
Commit
f3f29182
authored
Apr 01, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge dev:my/mysql-5.1-release
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1.24-release
parents
2ad1d0a6
2dacde61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
mysql-test/include/master-slave-reset.inc
mysql-test/include/master-slave-reset.inc
+2
-1
mysql-test/suite/rpl/t/rpl_insert.test
mysql-test/suite/rpl/t/rpl_insert.test
+6
-3
No files found.
mysql-test/include/master-slave-reset.inc
View file @
f3f29182
...
@@ -3,7 +3,7 @@ connection slave;
...
@@ -3,7 +3,7 @@ connection slave;
#(the server was started with skip-slave-start)
#(the server was started with skip-slave-start)
--
disable_warnings
--
disable_warnings
stop
slave
;
stop
slave
;
--
wait_for_slave_to_stop
source
include
/
wait_for_slave_to_stop
.
inc
;
--
enable_warnings
--
enable_warnings
connection
master
;
connection
master
;
--
disable_warnings
--
disable_warnings
...
@@ -20,3 +20,4 @@ reset slave;
...
@@ -20,3 +20,4 @@ reset slave;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
,
t5
,
t6
,
t7
,
t8
,
t9
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
,
t5
,
t6
,
t7
,
t8
,
t9
;
--
enable_warnings
--
enable_warnings
start
slave
;
start
slave
;
source
include
/
wait_for_slave_to_start
.
inc
;
mysql-test/suite/rpl/t/rpl_insert.test
View file @
f3f29182
...
@@ -18,10 +18,13 @@ let $query = "INSERT DELAYED INTO t1 VALUES (1, 'Dr. No'), (2, 'From Russia With
...
@@ -18,10 +18,13 @@ let $query = "INSERT DELAYED INTO t1 VALUES (1, 'Dr. No'), (2, 'From Russia With
# Wait until all the 5000 inserts has been inserted into the table
# Wait until all the 5000 inserts has been inserted into the table
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
5000
FROM
mysqlslap
.
t1
;
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
5000
FROM
mysqlslap
.
t1
;
--
source
include
/
wait_condition
.
inc
source
include
/
wait_condition
.
inc
;
SELECT
COUNT
(
*
)
FROM
mysqlslap
.
t1
;
SELECT
COUNT
(
*
)
FROM
mysqlslap
.
t1
;
sync_slave_with_master
;
connection
slave
;
# Wait until all the 5000 inserts has been inserted into the table
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
5000
FROM
mysqlslap
.
t1
;
source
include
/
wait_condition
.
inc
;
SELECT
COUNT
(
*
)
FROM
mysqlslap
.
t1
;
SELECT
COUNT
(
*
)
FROM
mysqlslap
.
t1
;
--
echo
#
--
echo
#
...
...
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