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
b2510c17
Commit
b2510c17
authored
Apr 04, 2013
by
sayantan dutta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #16401597 - MTR V1 RETURNS INCORRECT PATH TO VARIABLE @@BASEDIR
parent
d75da0a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
mysql-test/lib/v1/mysql-test-run.pl
mysql-test/lib/v1/mysql-test-run.pl
+4
-7
No files found.
mysql-test/lib/v1/mysql-test-run.pl
View file @
b2510c17
#!/usr/bin/perl
# -*- cperl -*-
# Copyright (c) 2008, 201
0
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2008, 201
3
, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -133,7 +133,6 @@ our $path_timefile;
our
$path_snapshot
;
our
$path_mysqltest_log
;
our
$path_current_test_log
;
our
$path_my_basedir
;
our
$opt_vardir
;
# A path but set directly on cmd line
our
$path_vardir_trace
;
# unix formatted opt_vardir for trace files
...
...
@@ -764,8 +763,6 @@ sub command_line_setup () {
$glob_mysql_bench_dir
=
undef
unless
-
d
$glob_mysql_bench_dir
;
$path_my_basedir
=
$source_dist
?
$glob_mysql_test_dir
:
$glob_basedir
;
$glob_timers
=
mtr_init_timers
();
...
...
@@ -3125,7 +3122,7 @@ sub install_db ($$) {
mtr_init_args
(
\
$args
);
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--bootstrap
");
mtr_add_arg
(
$args
,
"
--basedir=%s
",
$
path_my
_basedir
);
mtr_add_arg
(
$args
,
"
--basedir=%s
",
$
glob
_basedir
);
mtr_add_arg
(
$args
,
"
--datadir=%s
",
$data_dir
);
mtr_add_arg
(
$args
,
"
--loose-skip-ndbcluster
");
mtr_add_arg
(
$args
,
"
--tmpdir=.
");
...
...
@@ -3275,7 +3272,7 @@ log = $instance->{path_datadir}/mysqld$server_id.log
log-error = $instance->{path_datadir}/mysqld$server_id.err.log
log-slow-queries = $instance->{path_datadir}/mysqld$server_id.slow.log
character-sets-dir = $path_charsetsdir
basedir = $
path_my
_basedir
basedir = $
glob
_basedir
server_id = $server_id
shutdown-delay = 10
skip-stack-trace
...
...
@@ -3866,7 +3863,7 @@ sub mysqld_arguments ($$$$) {
mtr_add_arg
(
$args
,
"
%s--no-defaults
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--basedir=%s
",
$prefix
,
$
path_my
_basedir
);
mtr_add_arg
(
$args
,
"
%s--basedir=%s
",
$prefix
,
$
glob
_basedir
);
mtr_add_arg
(
$args
,
"
%s--character-sets-dir=%s
",
$prefix
,
$path_charsetsdir
);
if
(
$mysql_version_id
>=
50036
)
...
...
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