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
c5363887
Commit
c5363887
authored
Apr 19, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cluster: letting first mysql server startup properly before tstarting next
parent
9a1a9ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
c5363887
...
@@ -2157,6 +2157,14 @@ sub run_testcase ($) {
...
@@ -2157,6 +2157,14 @@ sub run_testcase ($) {
if
(
$using_ndbcluster_master
and
!
$master
->
[
1
]
->
{'
pid
'}
)
if
(
$using_ndbcluster_master
and
!
$master
->
[
1
]
->
{'
pid
'}
)
{
{
# Test needs cluster, start an extra mysqld connected to cluster
# Test needs cluster, start an extra mysqld connected to cluster
# First wait for first mysql server to have created ndb system tables ok
if
(
!
sleep_until_file_created
("
$master
->[0]->{'path_myddir'}/cluster/apply_status.ndb
",
$master
->
[
0
]
->
{'
start_timeout
'},
$master
->
[
0
]
->
{'
pid
'}))
{
report_failure_and_restart
(
$tinfo
);
return
;
}
mtr_tofile
(
$master
->
[
1
]
->
{'
path_myerr
'},"
CURRENT_TEST:
$tname
\n
");
mtr_tofile
(
$master
->
[
1
]
->
{'
path_myerr
'},"
CURRENT_TEST:
$tname
\n
");
$master
->
[
1
]
->
{'
pid
'}
=
$master
->
[
1
]
->
{'
pid
'}
=
mysqld_start
('
master
',
1
,
$tinfo
->
{'
master_opt
'},
[]
,
mysqld_start
('
master
',
1
,
$tinfo
->
{'
master_opt
'},
[]
,
...
...
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