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
0f54eccb
Commit
0f54eccb
authored
Aug 20, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the initialisation of "NDB_STATUS_OK" env variable to after cluster has been intalled
parent
9335cba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-2
No files found.
mysql-test/mysql-test-run.pl
View file @
0f54eccb
...
@@ -1392,8 +1392,6 @@ sub environment_setup () {
...
@@ -1392,8 +1392,6 @@ sub environment_setup () {
$ENV
{'
NDBCLUSTER_PORT
'}
=
$opt_ndbcluster_port
;
$ENV
{'
NDBCLUSTER_PORT
'}
=
$opt_ndbcluster_port
;
$ENV
{'
NDBCLUSTER_PORT_SLAVE
'}
=
$opt_ndbcluster_port_slave
;
$ENV
{'
NDBCLUSTER_PORT_SLAVE
'}
=
$opt_ndbcluster_port_slave
;
$ENV
{'
NDB_STATUS_OK
'}
=
$clusters
->
[
0
]
->
{'
installed_ok
'};
$ENV
{'
NDB_SLAVE_STATUS_OK
'}
=
$clusters
->
[
0
]
->
{'
installed_ok
'};;
$ENV
{'
NDB_EXTRA_TEST
'}
=
$opt_ndb_extra_test
;
$ENV
{'
NDB_EXTRA_TEST
'}
=
$opt_ndb_extra_test
;
$ENV
{'
NDB_BACKUP_DIR
'}
=
$clusters
->
[
0
]
->
{'
data_dir
'};
$ENV
{'
NDB_BACKUP_DIR
'}
=
$clusters
->
[
0
]
->
{'
data_dir
'};
...
@@ -2260,6 +2258,9 @@ sub mysql_install_db () {
...
@@ -2260,6 +2258,9 @@ sub mysql_install_db () {
}
}
}
}
$ENV
{'
NDB_STATUS_OK
'}
=
$clusters
->
[
0
]
->
{'
installed_ok
'};
$ENV
{'
NDB_SLAVE_STATUS_OK
'}
=
$clusters
->
[
1
]
->
{'
installed_ok
'};;
if
(
!
$cluster_started_ok
)
if
(
!
$cluster_started_ok
)
{
{
if
(
$opt_force
)
if
(
$opt_force
)
...
...
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