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
68816b47
Commit
68816b47
authored
Jul 13, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #11903, make perl test script run ndbcluster tests by default
parent
6e30bcda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+24
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
68816b47
...
...
@@ -287,6 +287,7 @@ sub executable_setup ();
sub
environment_setup
();
sub
kill_running_server
();
sub
kill_and_cleanup
();
sub
ndbcluster_support
();
sub
ndbcluster_install
();
sub
ndbcluster_start
();
sub
ndbcluster_stop
();
...
...
@@ -319,6 +320,12 @@ sub main () {
initial_setup
();
command_line_setup
();
executable_setup
();
if
(
!
$opt_skip_ndbcluster
and
!
$opt_with_ndbcluster
)
{
$opt_with_ndbcluster
=
ndbcluster_support
();
}
environment_setup
();
signal_setup
();
...
...
@@ -1026,6 +1033,23 @@ sub kill_and_cleanup () {
#
##############################################################################
sub
ndbcluster_support
()
{
# check ndbcluster support by testing using a switch
# that is only available in that case
if
(
mtr_run
(
$exe_mysqld
,
["
--no-defaults
",
"
--ndb-use-exact-count
",
"
--help
"],
"",
"
/dev/null
",
"
/dev/null
",
"")
!=
0
)
{
mtr_report
("
No ndbcluster support
");
return
0
;
}
mtr_report
("
Has ndbcluster support
");
return
1
;
}
# FIXME why is there a different start below?!
sub
ndbcluster_install
()
{
...
...
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