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
c01d3593
Commit
c01d3593
authored
Sep 29, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.1-maint
into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
parents
7a23b1ba
9157b046
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+7
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+22
-0
No files found.
mysql-test/lib/mtr_cases.pl
View file @
c01d3593
...
@@ -514,6 +514,13 @@ sub collect_one_test_case($$$$$$$) {
...
@@ -514,6 +514,13 @@ sub collect_one_test_case($$$$$$$) {
$tinfo
->
{'
comment
'}
=
"
Test need debug binaries
";
$tinfo
->
{'
comment
'}
=
"
Test need debug binaries
";
return
;
return
;
}
}
if
(
$tinfo
->
{'
innodb_test
'}
&&
!
$::glob_innodb_supported
)
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Test need innodb
";
}
}
}
# We can't restart a running server that may be in use
# We can't restart a running server that may be in use
...
...
mysql-test/mysql-test-run.pl
View file @
c01d3593
...
@@ -332,6 +332,7 @@ our @data_dir_lst;
...
@@ -332,6 +332,7 @@ our @data_dir_lst;
our
$used_binlog_format
;
our
$used_binlog_format
;
our
$debug_compiled_binaries
;
our
$debug_compiled_binaries
;
our
$glob_tot_real_time
=
0
;
our
$glob_tot_real_time
=
0
;
our
$glob_innodb_supported
;
######################################################################
######################################################################
#
#
...
@@ -350,6 +351,7 @@ sub cleanup_stale_files ();
...
@@ -350,6 +351,7 @@ sub cleanup_stale_files ();
sub
check_ssl_support
();
sub
check_ssl_support
();
sub
check_running_as_root
();
sub
check_running_as_root
();
sub
check_ndbcluster_support
();
sub
check_ndbcluster_support
();
sub
check_innodb_support
();
sub
rm_ndbcluster_tables
($);
sub
rm_ndbcluster_tables
($);
sub
ndbcluster_start_install
($);
sub
ndbcluster_start_install
($);
sub
ndbcluster_start
($$);
sub
ndbcluster_start
($$);
...
@@ -390,6 +392,7 @@ sub main () {
...
@@ -390,6 +392,7 @@ sub main () {
executable_setup
();
executable_setup
();
check_ndbcluster_support
();
check_ndbcluster_support
();
check_innodb_support
();
check_ssl_support
();
check_ssl_support
();
check_debug_support
();
check_debug_support
();
...
@@ -1855,6 +1858,25 @@ sub check_debug_support () {
...
@@ -1855,6 +1858,25 @@ sub check_debug_support () {
$debug_compiled_binaries
=
1
;
$debug_compiled_binaries
=
1
;
}
}
sub
check_innodb_support
()
{
# check innodb support by testing using a switch
# that is only available in that case
if
(
mtr_run
(
$exe_mysqld
,
["
--no-defaults
",
"
--innodb-data-file-path
",
"
--help
"],
"",
"
/dev/null
",
"
/dev/null
",
"")
!=
0
)
{
# mtr_report("Binaries does not support innodb");
$glob_innodb_supported
=
0
;
return
;
}
mtr_report
("
Using innodb when necessary
");
$glob_innodb_supported
=
1
;
}
##############################################################################
##############################################################################
#
#
# Start the ndb cluster
# Start the ndb cluster
...
...
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