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
6967aa18
Commit
6967aa18
authored
Mar 10, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup with/skip/supported-ndbcluster
parent
5dbb4c96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
14 deletions
+5
-14
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-14
No files found.
mysql-test/mysql-test-run.pl
View file @
6967aa18
...
...
@@ -181,8 +181,7 @@ our $opt_warnings= 1;
our
$opt_skip_ndbcluster
=
0
;
our
$opt_skip_ndbcluster_slave
=
0
;
our
$opt_with_ndbcluster
=
0
;
our
$glob_ndbcluster_supported
=
0
;
our
$opt_with_ndbcluster
;
our
$opt_ndb_extra_test
=
0
;
our
$exe_ndb_mgm
=
"";
...
...
@@ -1101,7 +1100,7 @@ sub environment_setup {
# --------------------------------------------------------------------------
# Add the path where libndbclient can be found
# --------------------------------------------------------------------------
if
(
$glob_ndbcluster_supported
)
if
(
!
$opt_skip_ndbcluster
)
{
push
(
@ld_library_paths
,
"
$basedir
/storage/ndb/src/.libs
");
}
...
...
@@ -1549,28 +1548,20 @@ sub check_ndbcluster_support ($) {
if
(
$opt_skip_ndbcluster
)
{
mtr_report
("
- skipping ndbcluster
");
$opt_skip_ndbcluster_slave
=
1
;
$opt_skip_ndbcluster_slave
=
$opt_skip_ndbcluster
;
return
;
}
if
(
!
$mysqld_variables
{'
ndb-connectstring
'}
)
{
mtr_report
("
- skipping ndbcluster, mysqld not compiled with ndbcluster
");
$opt_skip_ndbcluster
=
1
;
$opt_skip_ndbcluster_slave
=
1
;
$opt_skip_ndbcluster
=
2
;
$opt_skip_ndbcluster_slave
=
2
;
return
;
}
$glob_ndbcluster_supported
=
1
;
mtr_report
("
- using ndbcluster when necessary, mysqld supports it
");
if
(
$mysql_version_id
<
50100
)
{
# Slave cluster is not supported until 5.1
$opt_skip_ndbcluster_slave
=
1
;
}
return
;
}
...
...
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