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
626faeec
Commit
626faeec
authored
Oct 05, 2007
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#31398 problems with mysql-test-run
- "mysqld --verbose --help" need to be started in a writable directory
parent
d07a83ea
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 @
626faeec
...
@@ -1334,12 +1334,13 @@ sub datadir_list_setup () {
...
@@ -1334,12 +1334,13 @@ 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 --no-defaults --help --verbose" to get a
# Execute "mysqld --no-defaults --help --verbose" to get a
# list of all features and settings
# list of all features and settings
#
#
my
$list
=
`
$exe_mysqld
--no-defaults --verbose --help
`;
my
$list
=
`
$exe_mysqld
--no-defaults --
datadir=
$tmpdir
--
verbose --help
`;
foreach
my
$line
(
split
('
\
n
',
$list
))
foreach
my
$line
(
split
('
\
n
',
$list
))
{
{
...
@@ -1394,7 +1395,7 @@ sub collect_mysqld_features () {
...
@@ -1394,7 +1395,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