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
ed724e15
Commit
ed724e15
authored
Oct 05, 2007
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
parents
e9fc7548
626faeec
Changes
1
Show 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 @
ed724e15
...
@@ -1354,6 +1354,7 @@ sub datadir_list_setup () {
...
@@ -1354,6 +1354,7 @@ sub datadir_list_setup () {
sub
collect_mysqld_features
()
{
sub
collect_mysqld_features
()
{
my
$found_variable_list_start
=
0
;
my
$found_variable_list_start
=
0
;
my
$tmpdir
=
tempdir
(
CLEANUP
=>
0
);
# Directory removed by this function
#
#
# Execute "mysqld --help --verbose" to get a list
# Execute "mysqld --help --verbose" to get a list
...
@@ -1364,7 +1365,7 @@ sub collect_mysqld_features () {
...
@@ -1364,7 +1365,7 @@ sub collect_mysqld_features () {
#
#
# --datadir must exist, mysqld will chdir into it
# --datadir must exist, mysqld will chdir into it
#
#
my
$list
=
`
$exe_mysqld
--no-defaults --datadir=
$
path_language
--language=
$path_language
--skip-grant-tables --verbose --help
`;
my
$list
=
`
$exe_mysqld
--no-defaults --datadir=
$
tmpdir
--language=
$path_language
--skip-grant-tables --verbose --help
`;
foreach
my
$line
(
split
('
\
n
',
$list
))
foreach
my
$line
(
split
('
\
n
',
$list
))
{
{
...
@@ -1419,7 +1420,7 @@ sub collect_mysqld_features () {
...
@@ -1419,7 +1420,7 @@ sub collect_mysqld_features () {
}
}
}
}
}
}
rmtree
(
$tmpdir
);
mtr_error
("
Could not find version of MySQL
")
unless
$mysql_version_id
;
mtr_error
("
Could not find version of MySQL
")
unless
$mysql_version_id
;
mtr_error
("
Could not find variabes list
")
unless
$found_variable_list_start
;
mtr_error
("
Could not find variabes list
")
unless
$found_variable_list_start
;
...
...
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